No student devices needed. Know more
10 questions
1.Who invented C Language.?
Charles Babbage
Grahambel
Dennis Ritchie
Steve Jobs
2.C language was invented to develop which Operating System.?
Android
Linux
Ubuntu
Unix
3.C Programs are used in .?
Any Electronic device which works on some logic and Operating System.
Washing machine
Fridge, Microwave Ovens
All the above.
4.Find an integer constant
3.145
34
"125"
None of the above
5.Each statement in a C program should end with.?
Semicolon ;
Colon :
Period . (dot symbol)
None of the above.
6. Choose a right statement. int a = 10 + 4.867;
a = 10
a = 14.867
a = 14
compiler error.
What is the output of the C statement.?
int main()
{
int a=0;
a = 5<2 ? 4 : 3;
printf("%d",a);
return 0;
}
4
3
5
2
What is the output of C Program.?
int main()
{
int a=0;
a = printf("4");
printf("%d",a);
return 0;
}
04
40
compiler error
41
Choose a C Conditional Operator from the list.
?:
:?
:<
<:
Choose a syntax for C Ternary Operator from the list.
condition ? expression1 : expression2
condition : expression1 ? expression2
condition ? expression1 < expression2
condition < expression1 ? expression2
Explore all questions with a free account