C Program

C Program

University

20 Qs

quiz-placeholder

Similar activities

PRA UAS - Dasar Dasar Pemrograman 2023

PRA UAS - Dasar Dasar Pemrograman 2023

University

20 Qs

FODS-Program Basics

FODS-Program Basics

University

15 Qs

TECHNOWIZ'S QUIDDITCH

TECHNOWIZ'S QUIDDITCH

University

25 Qs

Technotsav'23

Technotsav'23

University

19 Qs

C - Strings

C - Strings

University

20 Qs

1st Year quiz

1st Year quiz

University

20 Qs

Common errors in C programming

Common errors in C programming

University

15 Qs

Byte the panel game

Byte the panel game

University

20 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?