What is the output of the following code:
int x = 5;
printf("%d", x++);
4
5
6
Undefined
1
2
8
*
&
%
#
Depends on the system
for loop
while loop
do-while loop
None of the above
int ptr;
int *ptr;
int &ptr;
int ptr*;
strlen()
sizeof()
length()
strlength()
int num;
integer num;
num int;
num integer;
print("Hello World");
echo("Hello World");
printf("Hello World");
None of these
final
constant
const
static
none of the above
auto
register
extern
volatile
getchar()
gets()
scanf()
cin.get()
10
20
0
None
&&
| |
!
All of the above
2 bytes
4 bytes
8 bytes
1 byte