C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} 65 Error A c 65 Error A c ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} None of these 25 30 20 24 None of these 25 30 20 24 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"));} 8 5 5 2 5 5 2 4 5 2 4 4 8 5 5 2 5 5 2 4 5 2 4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){int value1, value2=100, num=100;if(value1=value2%5) num=5;printf("%d %d %d", num, value1, value2);} 100 100 100 5 0 100 100 5 100 100 0 100 5 0 20 100 100 100 5 0 100 100 5 100 100 0 100 5 0 20 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 Infinite Loop 5 5 5 5 5 None of these 5 4 3 2 1 Compilation Error Infinite Loop 5 5 5 5 5 None of these 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? unsigned int No data type float int Depends upon the type of the variable to which it is pointing. unsigned int No data type float int Depends upon the type of the variable to which it is pointing. ANSWER DOWNLOAD EXAMIANS APP