Search Header Logo

Programming in C(1)

Authored by sowjanya prabhala

Computers

University

Used 75+ times

Programming in C(1)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?