Quizzes
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Create a Quiz
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Search
Create A Quiz
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Products
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Quizzes
Quizzes
›
Computer
›
Programming
A{c}m's {c} Quiz
5 Questions
|
By Acm Mpstme | Updated: Mar 21, 2022
| Attempts: 202
Share
Start
Share on Facebook
Share on Twitter
Share on Whatsapp
Share on Pinterest
Share on Email
Copy to Clipboard
Embed on your website
Question
1
/ 5
0 %
0/100
Score
0/100
1.
If((5*30 - 50*3 || ((int)6.5-(int)6.2) ||(60-12*5 || 5+3+2+1-10))) printf("True");else
printf("False");The Output Will Be?
True
False
Submit
Start Quiz
About This Quiz
2.
For(x=5;x>0;x--) { for(c=x;c>=1;c--) { printf("%d",c); } printf("\n"); }
543214321321211
555554444333221
111112222333445
544333222211111
Submit
3.
Int n1= 5;float n2= 5.5;long int n3= 45.5;double n4= 45.5;long long int n5= 55.5;char n6= '9';printf("%f",n1+n1+n3+n4+n5+n6); What is the output of the above program?
212.5
202.5
164.5
164
Submit
4.
Int x[5]={1,55,78,216,49},*ptr; ptr=x; printf("%d \n",(*ptr+1)); printf("%d \n",*(ptr+1));
255
155
22
5555
Submit
5.
Char c = 'A'+256; printf("%c", c);
@
$
A
%
Submit
View My Results
Related Quizzes
Test Your Coding Interest Levels
Test Your Coding Interest Levels
Tablet Quiz: What Tablet Should I Buy Quiz
Tablet Quiz: What Tablet Should I Buy Quiz
Thank you for your feedback!
Would you like to edit this question to improve it?
No thanks
Name:
Email:
Oops! Give us more information:
Incorrect Question
Incorrect Answer
Typos
I have a feedback
Submit
Please provide name and email to proceed.
Please provide correct email to proceed.
Please provide feedback.
Please select the option.
All (5)
Unanswered (
)
Answered (
)
If((5*30 - 50*3 || ((int)6.5-(int)6.2) ||(60-12*5 ||...
For(x=5;x>0;x--) { ...
Int n1= 5;float n2= 5.5;long int n3= 45.5;double n4= 45.5;long long...
Int x[5]={1,55,78,216,49},*ptr; ptr=x; ...
Char c = 'A'+256; printf("%c",...
X
OK
X
OK
Cancel
X
OK
Cancel