C Programming Quizzes, Questions & Answers
Recent Quizzes
.
Questions: 50 | Attempts: 953 | Last updated: Feb 6, 2024
-
Sample QuestionWhat will be the output of the program? #include #include int main() { float n=1.54; printf("%f, %f\n", ceil(n), floor(n)); return 0; }
.
Questions: 50 | Attempts: 1516 | Last updated: Mar 21, 2023
-
Sample QuestionPoint out the correct statements are correct about the program below? #include int main() { char ch; while(x=0;x<=255;x++) printf("ASCII value of %d character %c\n", x, x); return 0; }
Questions: 10 | Attempts: 1693 | Last updated: Feb 17, 2023
-
Sample QuestionWhich of the following converts a type to a long data type in C#?
Questions: 10 | Attempts: 227 | Last updated: Nov 17, 2023
-
Sample QuestionIn a file contains the line "I am a boy\r\n" then on reading this line into the array str using fgets(). What will str contain?
Questions: 10 | Attempts: 944 | Last updated: Mar 22, 2023
-
Sample QuestionIn a file contains the line "I am a boy\r\n" then on reading this line into the array str using fgets(). What will str contain?
Questions: 25 | Attempts: 1051 | Last updated: Feb 17, 2023
-
Sample QuestionWhich of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1 ?
Questions: 25 | Attempts: 1174 | Last updated: Feb 17, 2023
-
Sample QuestionWhich of the following is not a valid variable name declaration?
C# exam as preparation for deal with the real C# exam that conducted by our beloved customer.
Prepared by: R&D Dept.
Questions: 25 | Attempts: 370 | Last updated: Feb 14, 2024
-
Sample QuestionWhat will be the output of the C#.NET code snippet given below?int a = 10, b = 20, c = 30; int res = a < b ? a < c ? c : a : b; Console.WriteLine(res);