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 Array passed as an argument to a function is interpreted as Address of the first element of the array. Values of the first elements of the array. Number of element of the array. Address of the array. Address of the first element of the array. Values of the first elements of the array. Number of element of the array. Address of the array. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program?#include#define int char void main(){ int i = 65; printf("sizeof(i)=%d", sizeof(i));} Compiler Error None of These sizeof(i)=2 sizeof(i)=1 Compiler Error None of These sizeof(i)=2 sizeof(i)=1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} the behavior is undefined i=4 j=2 i=5 j=2 i=3 j=2 the behavior is undefined i=4 j=2 i=5 j=2 i=3 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of given program if user enter value 99?#includevoid main(){int i;printf("Enter a number:");scanf("%d", &i); // 99 is given as input.if(i%5 == 0){printf("nNumber entered is divisible by 5"); }} Run time error complier error Enter a number:99 Enter a number:99 Number is divisible by 5 Run time error complier error Enter a number:99 Enter a number:99 Number is divisible by 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 1 2 0 0 0 1 3 1 0 0 1 3 0 0 0 0 2 1 0 0 1 2 0 0 0 1 3 1 0 0 1 3 0 0 0 0 2 1 ANSWER DOWNLOAD EXAMIANS APP