Programming Fundamentals 12th june

Programming Fundamentals 12th june

Professional Development

30 Qs

quiz-placeholder

Similar activities

TECHNOSTORM 2K22 R1 ( BATCH 4 )

TECHNOSTORM 2K22 R1 ( BATCH 4 )

Professional Development

30 Qs

AIML TECH TRIATHLON

AIML TECH TRIATHLON

Professional Development

30 Qs

WAE Mock TCSNQT Quiz-21-Oct

WAE Mock TCSNQT Quiz-21-Oct

Professional Development

30 Qs

Aptitude King

Aptitude King

University - Professional Development

25 Qs

SPen 1st quarter 2022

SPen 1st quarter 2022

Professional Development

25 Qs

LNMIIT session 5

LNMIIT session 5

Professional Development

30 Qs

PSUEDOCODE 2 CAPGEMINI

PSUEDOCODE 2 CAPGEMINI

Professional Development

25 Qs

java Exception handling

java Exception handling

Professional Development

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