how does the C compiler interpret the following two
statements
p=p+x;
q=q+y;

a. p=p+x;
q=q+y
b. p=p+xq=q+y
c. p=p+xq;
q=q+y
d. p=p+x/q=q+y

Answers were Sorted based on User's Feedback



how does the C compiler interpret the following two statements p=p+x; q=q+y; a. p=p+x..

Answer / preetisahu

answer is a

Is This Answer Correct ?    31 Yes 0 No

how does the C compiler interpret the following two statements p=p+x; q=q+y; a. p=p+x..

Answer / hansaj

Answer is a

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Interview Questions

Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.

0 Answers   Convergys,


can we implement multi-threads in c.

0 Answers  


Difference between constant pointer and pointer to a constant.

0 Answers   Huawei,


What does it mean when the linker says that _end is undefined?

0 Answers  


WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include<stdio.h> #include<conio.h> void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }

25 Answers  






What is new line escape sequence?

0 Answers  


What is table lookup in c?

0 Answers  


how to set Nth bit of a variable?

1 Answers  


How can you call a function, given its name as a string?

0 Answers  


What is the auto keyword good for?

0 Answers  


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

0 Answers  


What is the sizeof () operator?

0 Answers  


Categories