C Program

C Program

University

20 Qs

quiz-placeholder

Similar activities

GNIDOC ROUND 1

GNIDOC ROUND 1

University

25 Qs

C Programming Quiz

C Programming Quiz

12th Grade - University

20 Qs

BASIC C PROGRAMMING QUIZ

BASIC C PROGRAMMING QUIZ

University

15 Qs

Structures and union

Structures and union

University

15 Qs

C- Geniusia

C- Geniusia

University

25 Qs

BASIC C PROGRAMMING

BASIC C PROGRAMMING

University

15 Qs

Unit-2 Test-2

Unit-2 Test-2

University

15 Qs

Lógica de Programação

Lógica de Programação

University

16 Qs

C Program

C Program

Assessment

Quiz

Computers

University

Medium

Created by

SUDHARSAN P

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Father of C program

Bjarne Stroustrup

James Gosling

Guido van Rossum

Dennis Ritchie

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which data type is used for number without decimal value

integer

int

float

decimal

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which data type is used for float

integer

int

float

decimal

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct syntax to print "Hello"

scanf("Hello");

print("Hello");

printf("Hello")

printf("Hello");

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which is used to get input from user?

scanf("%d",&num);

scanf("%d",&num)

scan("%d",&num);

scanf("%d",num);

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Format Specifier for integer

%i

%int

%d

%f

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find the Output for the Following code:

#include <stdio.h>

int main()

{

int a=1;

do{

printf("%d",a);

}while(a);

return 0;

}

1

no output

infinity

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?