Both can occur multiple times, but a declaration must occur first.
A definition occurs once, but a declaration may occur many times.
Both can occur multiple times, but a definition must occur first.
A declaration occurs once, but a definition may occur many times.
printf("\n");
echo '\n';
printf('\n');
printf('\\n')
Either True or False
is less than or is more than
is equal or less or more
All of the above
C compiler supports octal integer constant.
C compiler supports hexadecimal integer constant.
C compiler supports binary integer constant.
C compiler supports decimal integer constant.
4
5
6
Undefined
Binary operator
Unary operator
Ternary operator
Addition, Division, Modulus
Addition, Modulus, Division
Multiplication, Substration, Modulus
Modulus, Multiplication, Substration
The basic data type of C
Qualifier
Short is the qualifier and int is the basic data type
All of the mentioned
Martin Richards
Dennis Ritchie
Ken Thompson
Herman Hellorith
It returns the size of the variable in bits
It returns the size of the variable in bytes
It returns the size of the variable in kilobytes
It returns the number of elements in an array
//
/
#
/*
-5
1
0
+5
float, double
short int, double, long int
float, double, long double
double, long int, float
*
&
%
What is the output of this statement
printf("%d", (a++));
The value of (a + 1)
Error message
Garbage
The current value of a
float
real
int
double
1return
return1
return
$return_1
char
array
-4
-2.8
+2.8
+3
To determine which operator evaluated first from left to right.
To determine the level of an operator in a program.
To determine how an expression involving more than one operator is evaluated.
To check the expression is valid or not.
Constants
Keywords
Operators
Tokens
main function arguments
main arguments
Command-Line arguments
Parameterized arguments
8
16
2
Depends on the system
What will be the output of the following code?
int x = 5;printf("%d", ++x);
7
print("Hello World");
echo("Hello World");
printf("Hello World");
None of these
+
++
&&
it Compare the variable a and the variable b are same.
The value of b is assigned to variable a but if b changes later, it will not effect the value of variable a.
The value of b is assigned to variable a but if b changes later, it will effect the value of variable a.
The value of variable a is assigned to variable b, and the value of variable b is assigned to variable a.
Input data
The program does not require any function.
Output data
The program must have at least one function.
Assignment Relational Arithmetic
Arithmetic Relational Assignment
Relational Arithmetic Assignment
Assignment Arithmetic Relational
include
N=m=0
Value+=10
mySize=x<y?9:11
Value=+=10
| |
!
||
Id_No
ID_NO
IdNo
Id No
results in a syntax error
output Infomax7
outputs garbage
outputs infomax and terminates abruptly
link, load, code, compile and execute
code, compile, link, execute and load
code, compile, link, load and execute
compile, code, link, load and execute
“programming Trick”
“programming"
‘programming'
$ programming $
10
20
None
They execute programs faster than compilers
They translate the entire program at once
They translate and execute code line by line
They are not used in modern programming
2 bytes
4 bytes
8 bytes
1 byte
Spaces
Digits
Underscores
Letters
Compiler
Interpreter
Assembler
None of These
print()
scanf()
input()
int a = 10, b = 20;printf("%d", a + b);
30
1020
10+20
Compiler error
signed short
unsigned short
long
A number
A special symbol other than underscore
Both of the above
An alphabet
volatile
true
friend
export
Logical Operator
Conditional Operator
typecast
Ternary