C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} no error no output complier error 0 1 no error no output complier error 0 1 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++; }} Error None of These 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value Error None of These 10 20 30 40 50 10 20 30 40 50 10 20 30 40 50 Garbage Value ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 6 Garbage Value 0 None of these 5 6 Garbage Value 0 None of these 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 II and III III and IV I, III and IV I, II and III I and II II and III III and IV I, III and IV I, II and III I and II ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; p="%dn"; p++; p++; printf(p-2, 300);} %d\n 300 None of These Error %d\n 300 None of These Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");} asiha absiha haasi hai asiha absiha haasi hai ANSWER DOWNLOAD EXAMIANS APP