C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} 300 %d\n None of These Error 300 %d\n None of These Error 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 24 20 25 30 None of these 24 20 25 30 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? 1examians _examians examians1 exam_veda 1examians _examians examians1 exam_veda ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop 5 4 3 2 1 5 5 5 5 5 None of These Infinite Loop 5 4 3 2 1 5 5 5 5 5 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr{7} arr{6} None of these arr[6] arr[7] arr{7} arr{6} None of these arr[6] arr[7] ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compiler Error Can't Say will print Hello World None of These Compiler Error Can't Say will print Hello World None of These ANSWER DOWNLOAD EXAMIANS APP