MCQ Buddy
Search here...
  • Home
  • MCQ Feed
  • Add Question
  • Programming Portal
  • English Portal
  • Login
  1. Home
  2. Engineering
  3. Data Structure and Algorithms (DSA)
  4. Question

M

Mr. Dubey • 100.69K Points
Coach

Q. What will be the output of the program? #include<stdio.h>
int main()
{
int X=40;
{
int X=20;
printf("%d ", X);
}
printf("%d\n", X);
return 0;
}

  • (A) 40 40
  • (B) 20 20
  • (C) 20
  • (D) error
  • Correct Answer - Option(D)
  • Views: 484
  • Filed under category Data Structure and Algorithms (DSA)
Share

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Related MCQs

Q. A gang condenser is a

Q. There are ________ Types of parallel projections

Q. Surge current rating of an SCR is

Q. An 8085 microprocessor executes the following instructions: Two numbers are represented in signed 2's complement form as P=11101101 and Q = 11100

Q. The two modes of operation of three phase bridge inverters are known as

Q. Which of the following binary number is equal to octal number 66.3 ?

Q. The vector product obeys the __________ law.

Q. Which is not dynamic memory allocation function?

Q. A sort which compares adjacent elements in a list and switches where necessary is

Q. A polynomial can be represented in a _______ by just storing the coefficient and exponent of each term.


Question analytics

Share

Embed

WhatsApp

Facebook

Telegram

Download

Share in MCQ Buddy Groups

Share
Embed
Important Links
  • Browse All Categories
  • Subjects
  • Exams
  • Mock Test
  • Advance Search
  • Quiz
  • Duo Test
  • English Topics
Explore More Portals
  • UC Quiz
  • Hindi
  • State wise Portals
  • MCQ Buddy Lab
  • Engineering
  • Programming Portal
  • MB Shorts
  • NCERT Portal
  • Faculties Portal
  • Groups
  • Q & A
  • Spaces
  • Satya Sanatan
  • Keycrypt
Who we are?

We are nothing if we are alone. But we have a huge community of students who are helping you getting good study stuff free.

More Links
  • Download App
  • Advertise with us
  • Contact us
  • Youtube
  • Terms & Conditions
  • Refund Policy
  • Privacy Policy
  • Get the source code

Since 2020 - 2025 | Proudly Made with ♥ in India

Hosted on Hostinger