C Programming

C Programming

University

35 Qs

quiz-placeholder

Similar activities

Structures and Pointers in C

Structures and Pointers in C

University

35 Qs

Play with C

Play with C

University

30 Qs

TARANG C-COLLEGIUM ROUND-2

TARANG C-COLLEGIUM ROUND-2

University

30 Qs

C Quiz 2

C Quiz 2

University

30 Qs

TECH - C

TECH - C

University

30 Qs

BUG@MASTER

BUG@MASTER

University

30 Qs

Coding Trivia

Coding Trivia

University

30 Qs

C Language Quiz

C Language Quiz

University

30 Qs

C Programming

C Programming

Assessment

Quiz

University

Medium

Created by

Mohd. Khan

Used 61+ times

FREE Resource

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of C Program.?

int main()

{

int a=25;

while(a <= 27)

{

printf("%d ", a);

a++;

}

return 0;

}

25 25 25

25 26 27

27 27 27

Compiler error

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of C Program.?

int main()

{

int k, j;

for(k=1, j=10; k <= 5; k++)

{

printf("%d ", (k+j));

}

return 0;

}

compiler error

10 10 10 10 10

10 11 12 13 14 15

None of the above

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of C Program.?

int main()

{

int k;

for(k=1; k <= 5; k++);

{

printf("%d ", k);

}

return 0;

}

1 2 3 4 5

1 2 3 4

6

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Loops in C Language are implemented using.?

While Block

For Block

Do While Block

All the above

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

int main()


{


int a = 10, b = 25;


a = b++ + a++;


b = ++b + ++a;


printf("%d %d n", a, b);


}

36 64

35 62

36 63

30 28

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int main()


{


char arr[7]="Network";


printf("%s", arr);


return 0;


}

Network

N

Garbage Value

Compilation error

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h>

int main()

{

char arr[11]="The African Queen";

printf("%s",arr);

}

The African Queen

The

The African

Compilation error

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?