C Programming If the two strings are identical, then strcmp() function returns -1 true 1 0 None of these -1 true 1 0 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} None of these Infinite Loop Compilation Error 5 4 3 2 1 5 5 5 5 5 None of these Infinite Loop Compilation Error 5 4 3 2 1 5 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} None of These Ok here Error Forget it None of These Ok here Error Forget it ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 6 5 None of These 7 6 5 None of These 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 5 2 5 5 2 4 4 8 5 5 2 4 5 2 5 5 2 4 4 8 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 12 15 Garbage Value 14 13 12 15 Garbage Value 14 13 ANSWER DOWNLOAD EXAMIANS APP