Determine Output:void main(){ static int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values 0 0 0 Error 1 1 1 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 Garbage Value Garbage value 0 Code will not compile Garbage vlaue Garbage Value 0 0 TRUE ANSWER : ? YOUR ANSWER : ?
The operator > and < are meaningful when used with pointers, if None of these. The pointers point to elements of the same array. The pointers point to structure of similar data type. The pointers point to data of similar type. TRUE ANSWER : ? YOUR ANSWER : ?
In C programming language, which of the following type of operators have the highest precedence Equality operators Relational operators Logical operators Arithmetic operators TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following program code?#include<stdio.h>void main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} Error 10 None of these. 0.000000 TRUE ANSWER : ? YOUR ANSWER : ?
Array passed as an argument to a function is interpreted as Address of the first element of the array. Number of element of the array. Address of the array. Values of the first elements of the array. TRUE ANSWER : ? YOUR ANSWER : ?
Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Error h hi followed by garbage value Garbage Value hi TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ static char *s[] = {"black", "white", "yellow", "violet"}; char **ptr[] = {s+3, s+2, s+1, s}, ***p; p = ptr; ++p; printf("%s",*--*++p + 3); } ck te et ow TRUE ANSWER : ? YOUR ANSWER : ?
Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 30 50 10 15 None of these TRUE ANSWER : ? YOUR ANSWER : ?
Who is father of C Language? Dennis Ritchie F. Codd Dr. Bjarne Stroustrup James Gosling TRUE ANSWER : ? YOUR ANSWER : ?