Also Read: 10+ basic program In C | Download Pdf
In this post, we are going to talk about what is output of the following program in C. Because this is the best way to do a skill test of any programming language. In this post, you will find small programs which you will test through your programming skill and tell its output.
In this quize test you will find 10 small programs. Those who have to solve and tell you their answer, you will get the answer of the output of all the programs at the bottom. In this output program quiz test, we have asked beginner level questions. If you are learning programming right now, then this quiz test can help you a lot. As you increase your programming skills,
Also Read: Coronavirus Prank Program In C
you will be able to make good projects in C programming, such as: - diamond pattern, calculator, X-mas tree etc. In this post, we have taken the question related to variable declaration, in this quiz test, where the variable is declared and cover the question. It is also important for the purpose of small program in exam. And if you have any question, you can comment and ask.
C programming Quize Test -1
Whenever you solve a program, you do not hurry, think about it and solve the program comfortably. And when you do not know the answer to the program, you can scroll down the post and see the answer below. And we hope that you will definitely like this quiz test.
A. What is output of following program
int main()
{
char c='A';
printf("%d",c);
return 0;
}
1. A
2. Compile time error
3. 65
4. none of the Above
B. Solve this program and find ouput
int main()
{
int a=97;
printf("%c",a);
return 0;
}
1. a
2. Compile time error
3. 97
4. none of the Above
C. What is output of this program
int main()
{
int main=65;
printf("%c",main);
return 0;
}
1. Syntax error
2. A
3. 65
4. none of the Above
D. What is output of following program
int main()
{
int 3variable=6;
printf("%d",3variable);
return 0;
}
1. 6
2. 18
3. Syntax error
4. none of the Above
Also Read:- Top 5 Program In C language
E. Find output of this program
int variable=9;
int main()
{
int variable=10;
printf("%d",variable);
return 0;
}
1. Syntax error
2. 10
3. 9
4. 10,9
F. What is the output of following program
int main()
{
printf("%d",a);
int a=10;
return 0;
}
1. a
2. 10
3. Syntax error
4. None Of the above
Also Read: What Is Algorithm In C
G. Solve and find output of following program
int main()
{
int x=35;
int y=30;
printf("%c",x+y);
return 0;
}
1. 65
2. 35
3. A
4. None Of the above
H. What is output of following program
#define Pi 3.14
int main()
{
float pi=4.16;
printf("%f",Pi);
return 0;
}
1. 3.14
2. 4.16
3. Syntax Error
4. None Of the above
I. Solve this Program and find Output
int main()
{
int x;
printf("%d",sizeof(x));
return 0;
}
1. 2
J.What is Ouptut of following Program
1. 5
Also Read :top 5 Android Compiler for C and C++
If you liked this post What is output of the following program, then please comment and tell. This was part 1 of the quiz test, and the second part is coming very soon, so you must subscribe to the blog via e-mail now. So that no new updates are missed by you.
Tags:
c programming quiz test
c programming quiz
c programming quiz with answers
c programming quiz online
c programming quiz questions
online quiz test for c programming
c programming quiz for beginners
c programming online quiz test
c programming quiz questions and answers
1 Comments
Nic info i like it thank you
ReplyDeleteOnline Coupon Codes
Online Shopping
Online Earn And Aadhar Card
WordPress Automatic Plugin
Wzone – Amazon Affiliates
Free Themes & Plugins
SEO BLOG LEARNER
Earn Learn Duniya
How to Earn Money Online in Hindi
ChumSeek
Get Free Job alerts
2048 Games Play
Hey , Comment Your Query or Suggestion