C-programming.
Completed
QUIZ Basic in C-Prog
Rating
0
0
There are no comments for now.
Join this Course
to be the first to leave a comment.
1.
Which function is used to print output in C?
2.
What is the correct syntax to declare a variable in C?
4.
What will the these C-code output? #include <stdio.h> int main() { printf("%d", 5 + 3); return 0; }
5.
Which of the following is the correct way to read user input in C?
6.
What is the purpose of the return 0; statement in the main() function?
7.
Which of the following data types is used to store a single character in C?
8.
Which of the following is a valid comment in C?
9.
What does the following code do? #include <stdio.h> int main() { int a = 10, b = 20; printf("%d", a + b); return 0; }
10.
Which loop is used when the number of iterations is known beforehand in C?