C Programming - Basics 001

C Programming - Basics 001

University

10 Qs

quiz-placeholder

Similar activities

Weekly Contest #3 - TechXNinjas

Weekly Contest #3 - TechXNinjas

University

10 Qs

Administrasi Server Jaringan

Administrasi Server Jaringan

12th Grade - University

15 Qs

Jaringan Nirkabel - Pertemuan 3

Jaringan Nirkabel - Pertemuan 3

University

10 Qs

Information Technology & Business Canvas Model

Information Technology & Business Canvas Model

University

13 Qs

ICT450-TOPIC 1

ICT450-TOPIC 1

University

12 Qs

Ulangan harian 1 Algoritma dan Pemrograman

Ulangan harian 1 Algoritma dan Pemrograman

12th Grade - University

13 Qs

PHP QUIZ

PHP QUIZ

University

14 Qs

CSE205-DCN-QUIZ-UNIT-5

CSE205-DCN-QUIZ-UNIT-5

University

10 Qs

C Programming - Basics 001

C Programming - Basics 001

Assessment

Quiz

Computers

University

Hard

Used 70+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Can we declare function inside structure of C Programming?

Yes

No

Depends on Compiler

Yes but run time error

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is storage class for variable A in below code?


void main()

{

int A;

A = 10;

printf("%d", A);

}

extern

register

auto

static

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is output of below program?

void main()

{

const int a = 10;

printf("%d",++a);

}

11

10

Compilation Error

0

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Library function pow() belongs to which header file?

mathio.h

math.h

square.h

stdio.h

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Libray function getch() belongs to which header file?

stdio.h

conio.h

stdlib.h

stdlibio.h

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the following is invalid header file in C?

mathio.h

math.h

string.h

ctype.h

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is output of below code?


void main()

{

char name[]="Cppbuz";

int len;

int size;

len = strlen(name);

size = size_of(name);

printf("%d,%d",len,size);

}

6,6

6,7

7,7

0,0

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?