Void main()
{
If(printf("C") && getch ())
}
Then output is C.
If I wrote clrscr() in the place of getch() then it gives error message why..
Answer / shresth tyagi
in if statement if you are using && then it will give you output when both the conditions are true , if one of the conditions are not true than the compiler will give you an error and the correct program is ;
void main()
{ clrscr(); // it is used to clear anything on the command prompt
int i=1;
if(i==1)
printf("C");
getch(); // it is used to get character or string to print
}
| Is This Answer Correct ? | 0 Yes | 0 No |
A PLL maintains lock by comparing A The phase of two signals B The frequency of two signals C The amplitude of two signals D None of these
WHAT IS THE PRINCIPLE OF RADAR
What is a zener diode?
What is half-adder?
tell me about accenture
what is a router how it woks? what is a compromised router in networks?how it works? what is a packet loss and packet dropping? what is a malicious packet?when it occurs?
Hi..Iam going to give Junior Engineer exam og Railway mumbai I wanted to kow where i will get study stuff and GK books? Plz its urgent
sir,i had a written test conducted by jindal steel and power ltd .so please forward me the type of questions asked in written test (technical)
Explain the main application of scr in electronic field as well as in software field?
why a transistor amplify?
What is the maximum speed of ethernet ?
hi ,iam saikiran my betch is 56% of 24 backlogs .gre 860,ielts 5.5 and i had booked my slot in june ,how i should prepare any suggestion
Civil Engineering (5086)
Mechanical Engineering (4453)
Electrical Engineering (16638)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)