C programming quiz questions

Post A Question

Classifications:

quiz questions Categories:

Write a C program to get the C version you are using
icon 1 answers
icon372 Views
icon0 Likes
Guess the output #include int main() { int x = 1, y = 0, z = 3; x > y ? printf("%d", z) : return z; }
icon 1 answers
icon318 Views
icon0 Likes
Find out the error #include struct emp { char name[20]; int age; }; int main() { emp int xx; int a; printf("%d\n", &a); return 0; }
icon 1 answers
icon305 Views
icon0 Likes
How many times tutorial links are present
icon 1 answers
icon314 Views
icon0 Likes
What is the output?#include int main() { int i = 0, j = 0; if (i && (j = i + 10)) //do something ; }
icon 1 answers
icon334 Views
icon0 Likes
Assume the output #include int main() { printf("%p", main) getchar() return 0 }
icon 1 answers
icon236 Views
icon0 Likes
Find out the Output int main() { char arr[5]="The tutoriallinks.com" printf("%s",arr) return 0 }
icon 1 answers
icon224 Views
icon1 Likes
Find out the Output int main() { int a = 10.5; printf("%d",a); return 0; }
icon 1 answers
icon328 Views
icon0 Likes
Find out the error #include int main() { display(); return 0; } void display() { printf("IndiaBIX.com"); }
icon 1 answers
icon295 Views
icon0 Likes
What is the output? #include int main() { int i = 1; if (i++ && (i == 1)) printf("Yes\n"); else printf("No\n"); }
icon 1 answers
icon307 Views
icon0 Likes
Find out the Output int fun(char *str1) { char *str2 = str1; while(*++str1); return (str1-str2); } int main() { char *str = "geeksforgeeks"; printf("%d", fun(str)); getchar(); return 0; }
icon 1 answers
icon296 Views
icon0 Likes
C programming language by itself provides
icon 1 answers
icon301 Views
icon0 Likes
We can use relational operators as
icon 1 answers
icon341 Views
icon0 Likes