C Programming What is the correct value to return to the operating system upon the successful completion of a program? 1 2 -1 Program do no return a value. 1 2 -1 Program do no return a value. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 2 1 1 1 2 2 1 2 2 1 1 1 2 2 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 17 16 -1 20 19 17 16 -1 20 19 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } Compiler Error exam is printed Nothing is printed XAM is printed Compiler Error exam is printed Nothing is printed XAM is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} three Error zero None of These three Error zero None of These 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? float int No data type Depends upon the type of the variable to which it is pointing. unsigned int float int No data type Depends upon the type of the variable to which it is pointing. unsigned int ANSWER DOWNLOAD EXAMIANS APP