C and C++ Programing
1.
Write the output of the following program: int a[ ] = {1,2,3,} *p;
TRE4 C and C++ Quiz practice set 1
2.
Assume size of an integer as 4 bytes. What is the output of the above program?
TRE4 C and C++ Quiz practice set 1
3.
Which of the following is an example of a server-side scripting language commonly used in web applications?
TRE4 C and C++ Quiz practice set 1
4.
What will be the output of the following C program?
TRE4 C and C++ Quiz practice set 1
5.
Assume that an integer occupies 4 bytes. What will be the output of the following C program?
TRE4 C and C++ Quiz practice set 1
6.
Which of the following is primarily used for server-side scripting in web applications?
TRE4 C and C++ Quiz practice set 1
7.
Which of the following is equivalent to a[3] in C?
TRE4 C and C++ Quiz practice set 1
8.
Assume that an integer occupies 4 bytes. What will be the output of the following C program?
TRE4 C and C++ Quiz practice set 1
9.
Which of the following is a major difference between client-side and server-side scripting?
TRE4 C and C++ Quiz practice set 1
10.
What will be the output of the following C program?
TRE4 C and C++ Quiz practice set 1
11.
What will be the output of the following C program?
TRE4 C and C++ Quiz practice set 1
12.
Which of the following is a common use of server-side scripting?
TRE4 C and C++ Quiz practice set 1
13.
What will be the output of the following C program?
TRE4 C and C++ Quiz practice set 1
14.
What will be the output of the following C program?
TRE4 C and C++ Quiz practice set 1
15.
In a typical web application, where is PHP code executed?
TRE4 C and C++ Quiz practice set 1
16.
What will be the output of the following C program?
TRE4 C and C++ Quiz practice set 1
17.
What will be the output of the following C program?
TRE4 C and C++ Quiz practice set 1
18.
Which of the following technologies can be used for server-side web application development?
TRE4 C and C++ Quiz practice set 1
19.
What will be the output of the following C program?
TRE4 C and C++ Quiz practice set 1
20.
Which of the following statements about the sizeof operator in C is correct?
TRE4 C and C++ Quiz practice set 1
21.
What will be the output of the following C program?
TRE4 C and C++ Quiz practice set 1
22.
What will be the output of the following C program?
TRE4 C and C++ Quiz practice set 1
23.
What will be the output of the following C program?
TRE4 C and C++ Quiz practice set 1
24.
What will be the output of the following C program?
TRE4 C and C++ Quiz practice set 1
25.
What will be the output of the following C program?
TRE4 C and C++ Quiz practice set 1
26.
Assume that an integer occupies 4 bytes. What will be the output of the following C program?
TRE4 C and C++ Quiz practice set 1
27.
Which of the following statements about arrays and pointers in C is correct?
TRE4 C and C++ Quiz practice set 1
28.
Which of the following statements about sizeof and expressions in C is correct?
TRE4 C and C++ Quiz practice set 1