Programming Fundamentals 12th june

Programming Fundamentals 12th june

Professional Development

30 Qs

quiz-placeholder

Similar activities

NETWORK SERVICES, ARCHITECTURES, CLOUD CONCEPTS & DEVICES

NETWORK SERVICES, ARCHITECTURES, CLOUD CONCEPTS & DEVICES

Professional Development

25 Qs

Royal Rumble

Royal Rumble

Professional Development

25 Qs

Linked List

Linked List

Professional Development

30 Qs

Session 7 LNMIIT

Session 7 LNMIIT

Professional Development

30 Qs

Redes Unidad 5: Diseño de redes IV

Redes Unidad 5: Diseño de redes IV

Professional Development

28 Qs

DATA TYPES ,INPUT AND OUTPUT

DATA TYPES ,INPUT AND OUTPUT

Professional Development

25 Qs

Redes Unidad 5: Subsistema equipos

Redes Unidad 5: Subsistema equipos

Professional Development

29 Qs

Programming Boot Camp-Quiz I

Programming Boot Camp-Quiz I

Professional Development

30 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?