C Programming Questions & Answers: part11



Software Programming : C Programming QUESTIONS AND ANSWERS :: part11 : 11 to 15

Following Software Programming language Entrance Multiple choice objective type questions and answers will help you in Software Programming 2024 examinations :

11.The address of the starting element of an array is

Represented by subscripted variable of the starting element
Can�t be specified
Represented by the array name
Not used by the compiler
Represented by the size of the array.

12.What is the value of a[0][2] in int a[3][4]={{1,2},{3,4,5}};?

0
1
2
3
4.

13.If suppose a variable �a� is initialized as int a=0xff, then what will be output for the below code? ( a << 4 >> 12 )? printf(�Humaira�) : printf( �Iram� );

Syntax Error
Logical Error
Humaira
Iram
No output at all.

14.What should be the initial values for a, b, c, if 2 has to be printed with the following code? #192. What should be the initial values for a, b, c, if 2 has to be printed with the following code? void main(){ int a, b, c; printf( �%d�, ( c>=b>=a ? 1 : 2 )); }

0, 0, 0
1, 1, 1
-1, 0, 1
0, -1, -2
2, 2, 2

More C Programming QUESTIONS AND ANSWERS available in next pages

    Health is the greatest gift, contentment is the greatest wealth -Buddha
A real entrepreneur is somebody who has no safety net underneath them. Henry Kravis