#include<stdio.h>
void main()
{
int a=5,b=6,c;
int x=(a<b)+7;
int y=(x==7)*9;
int z=(c=x+y)*2;
printf("%h %h %h",x,y,z);
}
What is the output? Explain it.
Answer Posted / mohit (firozabad, adc)
Here The Program will be print the Message %h%h%h only
because in the c language
the data type print the integer value by %d
character by %c
float by %f
pointer type by %u
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Describe the steps to insert data into a singly linked list.
Write a code on reverse string and its complexity.
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
Is c pass by value or reference?
The difference between printf and fprintf is ?
What is a good way to implement complex numbers in c?
Write a program to reverse a given number in c language?
How do you write a program which produces its own source code as output?
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58
What are the different types of objects used in c?
Who is the founder of c language?
What is the difference between exit() and _exit() function?
Explain what is the advantage of a random access file?
What is the scope of local variable in c?