Programming in C(1)

Quiz
•
Computers
•
University
•
Medium
sowjanya prabhala
Used 62+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Who is father of C Language?
Bjarne Stroustrup
James A. Gosling
Dennis Ritchie
Dr. E.F. Codd
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Output of the following code
#include <stdio.h>
int main()
{ int i = 0;
switch (i)
{
case '0': printf("Geeks");
break;
case '1': printf("Quiz");
break;
default: printf("GeeksQuiz");
}
return 0;
}
Geeks
Quiz
GeeksQuiz
None of the above
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In which year C language is developed?
1970
1971
1972
1973
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The keyword used to transfer control from a function back to the calling function is
switch
goto
go back
return
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a variable is a pointer to a structure, then which of the following operator is used to access data members of the structure through the pointer variable?
>
&
*
->
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
#include<stdio.h>
int main()
{ int k=1;
printf("%d == 1 is" "%s\n", k, k==1?"TRUE":"FALSE");
return 0;
}
k == 1 is TRUE
1 == 1 is TRUE
1 == 1 is FALSE
K == 1 is FALSE
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the two strings are identical, then strcmp() function returns
True
1
False
0
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
C Language Quiz-1

Quiz
•
University - Professi...
20 questions
C programming syntax quiz

Quiz
•
University
20 questions
CCE-III Programming in C Language

Quiz
•
University
18 questions
Programming in C language

Quiz
•
12th Grade - University
15 questions
Java Method

Quiz
•
University
16 questions
UC_TM03_Arrays_Functions

Quiz
•
University - Professi...
18 questions
CP-String

Quiz
•
University
15 questions
002_Java Methods

Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade