Array passed as an argument to a function is interpreted as Number of element of the array. Values of the first elements of the array. Address of the first element of the array. Address of the array. TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 4..4 2..2 2..4 4..2 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following program? #include\<stdio.h> int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } Depends on the Compiler Linker Error : Undefined symbol 'i' 4 2 TRUE ANSWER : ? YOUR ANSWER : ?
In C programming language, which of the following type of operators have the highest precedence Arithmetic operators Logical operators Relational operators Equality operators TRUE ANSWER : ? YOUR ANSWER : ?
Comment on the following?const int *ptr; We cannot change the value pointed by ptr. We can change the pointer as well as the value pointed by it. We cannot change the pointer ptr itself. Both of the above TRUE ANSWER : ? YOUR ANSWER : ?
Which of the following operator takes only integer operands? + / * None of these % TRUE ANSWER : ? YOUR ANSWER : ?
C programs are converted into machine language with the help of A compiler An Editor None of these. An operating system TRUE ANSWER : ? YOUR ANSWER : ?
The declarationint (*p) [5];means The same as int *p[ p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. None of these. TRUE ANSWER : ? YOUR ANSWER : ?
Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 4 2 5 5 5 5 5 2 4 5 TRUE ANSWER : ? YOUR ANSWER : ?