What is initial value of a variable declared with "auto" storage class.
- Garbage
- Zero
- null
- undefined
- option1
Clear All
Loading...
What is initial value of a variable declared with "extern" storage class.
- Garbage
- Zero
- null
- undefined
- option2
Clear All
Loading...
What is initial value of a variable declared with "static" storage class.
- Garbage
- Zero
- null
- undefined
- option2
Clear All
Loading...
What will be output of below program.
#include
int main(){
int a=32768;
printf("%d",++a);
}
- 32769
- -32767
- -32767
- -32766
- option3
Clear All
Range of signed int is between -32768 to 32767.
Loading...
Predicate the output of follwing program.
#include
int main(){
printf(2+"HELLO");
}
- 2HELLO
- HELLO
- LLO
- ERROR
- option3
Clear All
Loading...
Predicate the output of following c progaram.
void fun(int n){
if(n==0) return;
else return fun(n-1);
}
int main(){
fun(3);
}
- 1 2 3
- 3 2 1
- 2 1 3
- 1 2 3 4
- 3 2 1
Clear All
Loading...
Which of the following is/are tautology ?
- (a ∧ b)→( b ∨ c)
- (a ∨ b) → (b ∧ c)
- (a ∨ b) → (b → c)
- (a → b) → (b → c)
- option1
Clear All
Loading...
The number of distinct simple graph with upto three nodes is
- 9
- 7
- 10
- 15
- option2
Clear All
Loading...
What is the converse of the following assertion? "I stay only if you go"
- If I don't stay then you go
- If you don't go then I don't stay
- If I stay then you go
- I stay if you go
- option3
Clear All
Loading...
A non-planar graph with minimum number of vertices has
- 9 Edges, 6 Vertices
- 10 Edges, 5 Vertices
- 6 Edges, 4 Vertices
- 9 Edges, 5 Vertices
- option2
Clear All
Loading...