Programming in C(1)

Programming in C(1)

University

20 Qs

quiz-placeholder

Similar activities

Milking Minds 2 17-01-24

Milking Minds 2 17-01-24

University

15 Qs

Pointers

Pointers

University

20 Qs

Bridge course with C

Bridge course with C

University

20 Qs

BS TEST2

BS TEST2

University

20 Qs

Pointers in C

Pointers in C

University

24 Qs

C programming

C programming

University

15 Qs

Coding and Debugging

Coding and Debugging

University

15 Qs

C PROGRAMMING

C PROGRAMMING

University

25 Qs

Programming in C(1)

Programming in C(1)

Assessment

Quiz

Computers

University

Medium

Created by

sowjanya prabhala

Used 58+ 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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?