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 |
Why is the grid in a cro provided with a hole in it?
When compared with other transducers measuring temperature, a four-lead platinum RTD 1. has better linearity over a wide operating range 2. has better accuracy and precision 3. has better stability at high temperature 4. is inexpensive Which of these are correct? Select one: a. 1,2 and 3 b. 2,3 and 4 c. 1,2 and 4 d. 1,3 and 4
why is BPSK better than BFSK in presence of noise
convert d flip flop to jk flip flop using mux
what is asynchronous data transfer???
How do you calculate the amount of feedback given in a negative feedback amplifier ? Illustrate
What Are The Various Types Of Numbers For Network Identity?
What are the different types of communications?
define flyback converter.
under which condition we shall prefer a shunt capacitor filter?
I am a fresher and i have done testing course from orbit institute hyd.can any1 say me whether it is necessary to do project in testing.if it is that which is best institute in hyd.can you please inform me if there is any job 4 freshers.thanxs
what is operating ratio in railway