C Programming Quizzes, Questions & Answers
Recent Quizzes
Are you confident in your C programming skills? Test your knowledge with our C Programming Skills Test. This quiz is structured to evaluate your understanding of C, covering fundamental to advanced programming elements. This test...
Questions: 10 | Attempts: 686 | Last updated: Aug 20, 2024
-
Sample QuestionWhat does the ++ operator perform?
Questions: 15 | Attempts: 216 | Last updated: Mar 21, 2023
-
Sample Question#include <stdio.h> int main() { int x = 10; int y = 20; x += y += 10; printf (" %d %d", x, y); return 0; }
Questions: 10 | Attempts: 107 | Last updated: Mar 22, 2023
-
Sample QuestionC is a:
.
Questions: 15 | Attempts: 223 | Last updated: Mar 22, 2023
-
Sample QuestionWhich of the following is not a valid variable name declaration in the C programming language?
.
Questions: 21 | Attempts: 374 | Last updated: Mar 22, 2023
-
Sample QuestionWhat will be output if you will compile and execute the following c code? #include<stdio.h> struct marks{ int p:3; int c:3; int m:2; }; int main(){ struct marks s={2,-6,5}; printf("%d %d %d",s.p,s.c,s.m); return 0; }
.Dear Learner,
This Assessment consists of questions to test your understanding on - C Programming
You may attempt the same and clarify doubts in WP Group ./ With your Faculty Member
Regards,
Team...
Questions: 20 | Attempts: 122 | Last updated: Feb 17, 2023
-
Sample QuestionPoint out the error, if any in the for loop #include int main() { int i=1; for(;;) { printf("%d\n", i++); if(i>10) break; } return 0; }
.Dear Learner,
This Assessment consists of questions to test your understanding on - C Programming
You may attempt the same and clarify doubts in WP Group ./ With your Faculty Member
Regards,
Team SHIVAM
Questions: 20 | Attempts: 106 | Last updated: Feb 17, 2023
-
Sample QuestionWhat is the output? main() { char val[] = {‘a’,’b’,’c’,’\n’,’c’,’\0’}; char *p, *val1, *val2; p = &val[3]; val1 = val; val2 = val; printf(“%d”, ++*p + ++*val1 – 32); }
.Dear Learner,
This Assessment consists of questions to test your understanding on - C Programming Basics
You may attempt the same and clarify doubts in WP Group ./ With your Faculty...
Questions: 20 | Attempts: 330 | Last updated: Feb 17, 2023
-
Sample QuestionWhat will be output if you will compile and execute the following c code? void main() { float a=5.2; if(a==5.2) printf("Equal"); else if(a
.Dear Learner,
This Assessment consists of questions to test your understanding on - Basics of C Programming Language
You may attempt the same and clarify doubts in WP Group ./ With your Faculty...
Questions: 20 | Attempts: 294 | Last updated: Feb 17, 2023
-
Sample QuestionWhich of the following is a keyword used for a storage class?
Below is an entry-level exam that is perfect for anyone who is just starting to learn about the C programming language. This is a high-level programming language that experts use to create and develop sophisticated applications....
Questions: 10 | Attempts: 261 | Last updated: Mar 17, 2024
-
Sample QuestionC++ first appeared in which year?
Advertisement