Question
#include<stdio.h>
int main()
{
int y=128;
const int x=y;
printf("%d\n", x);
return 0;
}
a.
128
b.
Garbage value
c.
Error
d.
0
Posted under C Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. What will be the output of the program?
Similar Questions
Discover Related MCQs
Q. "C"was primarily developed as a
View solution
Q. "C" is a
View solution
Q. Most suitable option for “C” literal is:
View solution
Q. Length of the string “Correct” is
View solution
Q. Choose the correct statement:
View solution
Q. The “const” feature can be applied to
View solution
Q. Pick the operator that associate from the left
View solution
Q. Choose the correct statement form given options:
View solution
Q. Pick the operator that associate from the right
View solution
Q. Which of the following comments about the “++” operator are correct?
View solution
Q. The _________ is a computer program that translates the source code into corresponding object code
View solution
Q. Which one is a special function in C system to tell the computer where the program start
View solution
Q. In a passage of text individual words and punctuation marks are called
View solution
Q. Which of the following is not a data type in c
View solution
Q. If a=14, b=4 then a/b =
View solution
Q. If a=14, b=4 then a%b =
View solution
Q. If m=5, y=m++ then value of y and m would be _____ and _______
View solution
Q. An _______ is a fixed size sequence collection of elements of the same data type
View solution
Q. What is the action of strcat() function
View solution
Q. What is the action of strcmp() function
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!