Determine Output:void main(){ char *p; p="Hello"; printf("%c", *&*p);} Hello H Some Address will be printed None of These TRUE ANSWER : ? YOUR ANSWER : ?
If ASCII value of 'x' is 120, then what is the value of the H, ifH = ('x' – 'w' ) / 3; 2 3 1 0 TRUE ANSWER : ? YOUR ANSWER : ?
What will be printed after execution of the following program code?main(){ printf("\\nab"); printf("\\bsi"); printf("\\rha"); } absiha None of these haasi hai asiha TRUE ANSWER : ? YOUR ANSWER : ?
Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 10 None of these. 11 9 TRUE ANSWER : ? YOUR ANSWER : ?
void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 22 13 14 14 22 14 12 13 22 12 12 13 22 11 11 11 12 10 11 13 TRUE ANSWER : ? YOUR ANSWER : ?
#include<stdio.h>void main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 11, 11 10, 11 10, 10 11, 10 TRUE ANSWER : ? YOUR ANSWER : ?
short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 7 It will not compile because not enough initializers are given 24 6 12 TRUE ANSWER : ? YOUR ANSWER : ?
The recursive functions are executed in a ........... Random order Parallel order First In First Out order Iterative order Last In First Out order TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 1..0 0..1 1..1 0..0 TRUE ANSWER : ? YOUR ANSWER : ?
What would be the output for the following Turbo C code?#include<stdio.h>void main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 2 2 3 3 3 3 4 2 4 TRUE ANSWER : ? YOUR ANSWER : ?