What will the code below print when it is executed?
int x = 3, y = 4;
if (x = 4)
y = 5;
else
y = 2;
printf ("x=%d, y=%d
",x,y);
No Answer is Posted For this Question
Be the First to Post Answer
When should I declare a function?
sir i wanted to know how we wap in c to add numbers without using arithmetic operator in which digits are entered by user?
du u know test pattern for robosoft? Plz share
1 Answers RoboSoft, TATA, Wipro,
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
2 Answers Aricent, Manipal University,
Study the Following Points: a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static 1. Which of the Following Statements are true w.r.t Bit- Fields A)a,b&c B)Only a & b C)Only c D)All
write aprogram for There is a mobile keypad with numbers 0-9 and alphabets on it. take input of 7 keys and then form a word from the alphabets present on those keys.
1 Answers iGate, Shashi, Source Bits, Subex,
How do i store a paragraph into a string? for example, if i input a long paragraph, the program will read the words one by one and concatenate them until no word is left.
Explain output of printf("Hello World"-'A'+'B'); ?
Is int a keyword in c?
what is a NULL pointer?
How many data structures are there in c?
what different between c and c++