Home / MCQ Bank / Computer
Computer Miscellaneous Difficulty: Medium

Determine Output: void main() { int c[] = {2.8,3.4,4,6.7,5}; int j, *p=c, *q=c; for(j=0;j<5;j++){ printf(" %d ", *c); ++q; } for(j=0;j<5;j++){ printf(" %d ", *p); ++p; } }

Select the correct option to test your answer:

More Computer Questions

What type of magnetic material is normally used in bubble memories? What is the result of the following code in Java? `System.out.println(5 / 0);` What will be the output of the following C code? char str[20]; strcpy(str, "123456"); res = atoi(str); printf("%s %d\n", str, res); Which method is used to connect a TcpClient object to a remote host in C#? What is the main disadvantage of the Naive string matching algorithm?