WorksheetsOOP_Viva_P1_B13A_Mar02
Total questions: 7
Worksheet time: 4mins
Which of the following operators can be applied on structure variables in C programming?
Equality comparison ( == )
Assignment ( = )
Both
None
Predict the output of given code.
Welcome to Jaypee University21
Welcome to Jaypee University
Welcome to Jaypee University2821
Welcome to Jaypee University28
Predict the output of the given C code.
10
20
30
Error
Out of the two operators (* and ++), which operator will be evaluated first while evaluating the following expression?
Expression: *ptr++
*
++
Expression is incorrect
Find out the number of elements in the following array declaration:
int arr[3][4][9];
36
12
27
108
Predict the output of the following C code.
1 2 3 4 5 6
2 4 6
1 3 5
1 3 5 6
Find out the number of elements in the following array declaration:
char str[] = “Hello JUET”;
10
11
9
12
