C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? cdefg efg bcdefg defg fg cdefg efg bcdefg defg fg 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"); } } exam is printed XAM is printed Compiler Error Nothing is printed exam is printed XAM is printed Compiler Error Nothing is printed ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 4..4 4..2 2..4 2..2 4..4 4..2 2..4 2..2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ int a, b, c, d; a = 3; b = 5; c = a, b; d = (a, b); printf("c=%d d=%d", c, d);} c=5 d=5 c=5 d=3 c=3 d=5 c=3 d=3 c=5 d=5 c=5 d=3 c=3 d=5 c=3 d=3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the right choice, if the following loop is implemented?void main(){ int num = 0; do{ --num; printf("%d", num); }while( ++num >= 0 );} The loop will run infinitely many times. The program will not enter into the loop. A run time error will be generated. Prints the value of 0 one time only. There will be a compilation error reported. The loop will run infinitely many times. The program will not enter into the loop. A run time error will be generated. Prints the value of 0 one time only. There will be a compilation error reported. ANSWER DOWNLOAD EXAMIANS APP
C Programming C was primarily developed as None of these General purpose language System programming language Data processing language None of these General purpose language System programming language Data processing language ANSWER DOWNLOAD EXAMIANS APP