C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} None of These 5 6 7 None of These 5 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming Use of functions Enhances the logical clarity of the program. Helps to avoid repeating a set of statements many times. All of these Makes the debugging task easier. Helps to avoid repeated programming across programs. Enhances the logical clarity of the program. Helps to avoid repeating a set of statements many times. All of these Makes the debugging task easier. Helps to avoid repeated programming across programs. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int a[] = {10,20,30,40,50}, j, *p; for(j=0; j<5; j++){ printf("%d" ,*a); a++; } p = a; for(j=0; j<5; j++){ printf("%d" ,*p); p++; }} 10 20 30 40 50 10 20 30 40 50 Error 10 20 30 40 50 Garbage Value None of These 10 20 30 40 50 10 20 30 40 50 Error 10 20 30 40 50 Garbage Value None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 2 4 5 5 5 5 2 4 4 2 5 5 2 4 5 5 5 5 2 4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5? 450 -10 110 10 -110 450 -10 110 10 -110 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();} Compilation Error 5 5 5 5 5 5 4 3 2 1 None of these Infinite Loop Compilation Error 5 5 5 5 5 5 4 3 2 1 None of these Infinite Loop ANSWER DOWNLOAD EXAMIANS APP