Programming Fundamentals 12th june

Programming Fundamentals 12th june

Professional Development

30 Qs

quiz-placeholder

Similar activities

ACC Quiz Level 3 D

ACC Quiz Level 3 D

Professional Development

25 Qs

Refresher Service Excellence

Refresher Service Excellence

KG - Professional Development

25 Qs

Service Excellent & Recovery + Selling Skill

Service Excellent & Recovery + Selling Skill

Professional Development

25 Qs

KPL 2023

KPL 2023

Professional Development

25 Qs

TÉCNICAS DE EDUCACIÓN AMBIENTAL

TÉCNICAS DE EDUCACIÓN AMBIENTAL

Professional Development

25 Qs

UT 1 y 2 FOL Relación laboral y tipos de contratos

UT 1 y 2 FOL Relación laboral y tipos de contratos

Professional Development

25 Qs

AWS Quiz Feb 17

AWS Quiz Feb 17

Professional Development

25 Qs

SURGICAL COUNT

SURGICAL COUNT

Professional Development

25 Qs

Programming Fundamentals 12th june

Programming Fundamentals 12th june

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Rajeev Agarwa

Used 4+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Study the following program:

main()

{printf("javatpoint");

main();

}

What will be the output of this program?

Wrong statement

It will keep on printing javatpoint

It will Print javatpoint once

None of the these

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will this program print?

main()

{

int i = 2;

{

int i = 4, j = 5;

printf("%d %d", i, j);

}

printf("%d %d", i, j);

}

2525

2545

4545

4525

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a lint?

C compiler

Interactive debugger

Analyzing tool

C interpreter

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Study the following program:

main()

{

char x [10],

*ptr = x;

scanf ("%s", x);

change(&x[4]);

}

change(char a[])

{

puts(a);

}

If abcdefg is the input, the output will be

abcd

abc

efg

Garbage

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Study the following program:

main()

{

int a = 1, b = 2, c = 3:

printf("%d",

a + = (a + = 3, 5, a))

}

What will be the output of this program?

6

9

12

8

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does this declaration mean?

X is a four-digit integer.

X cannot be greater than a four-digit integer.

X is a four-bit integer.

None of the these

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Why is a macro used in place of a function?

It reduces execution time.

It reduces code size.

It increases execution time.

It increases code size.

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?