#include<stdio.h>
void main()
{
int a,b,c;
a=b=c=1;
c=++a || ++b && ++c;
printf("%d\t%d\t%d",a,b,c);
}
Answers were Sorted based on User's Feedback
Answer / geetha
logical ooperation gives output only 0 or 1 that means
true or false.in this && have higher priority so first
excutes ++b&&++c (1&&1=1)true now 2||1=1.then a value is
incremanted in the ||operation indicates any one operation
excutes only .so a value is incremented and b & c values
are 1 displayed
| Is This Answer Correct ? | 4 Yes | 0 No |
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
Is register a keyword in c?
what is the hardware model of CFG( context free grammar)
program to find the second largest word in a paragraph amongst all words that repeat more thn twice
Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer
what is difference between getchar,putchar functions and printf and scanf function? does putchar show output only when input given to it
Tell me is null always defined as 0(zero)?
what is unsigened char and what is the difference from char
What is the use of linkage in c language?
What would be an example of a structure analogous to structure c?
explain memory layout of a C program
Explain what is a const pointer?