Programming in C(1)

Programming in C(1)

University

20 Qs

quiz-placeholder

Similar activities

POST TEST WEB STATIC

POST TEST WEB STATIC

University - Professional Development

20 Qs

switch case

switch case

University

17 Qs

sistema de archivos

sistema de archivos

University

15 Qs

basisdata1

basisdata1

University

20 Qs

Digital introductions

Digital introductions

University

20 Qs

PARC Linux Basic Part 2

PARC Linux Basic Part 2

University

20 Qs

CSS Pseudo dan CSS Grid System

CSS Pseudo dan CSS Grid System

University

20 Qs

Programming in C(1)

Programming in C(1)

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

sowjanya prabhala

Used 68+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?