a=5
a=a++/++a
Answers were Sorted based on User's Feedback
Answer / abhi
answer is 6 because
a=a++/++a
i.e.=
5=5/5+1
hence 6=5/6
5*6=5
30/5=6
reason is that the post increment increment after process
but pre increment increment before the process so th value
is increment before the process
| Is This Answer Correct ? | 1 Yes | 10 No |
i want to know the procedure of qualcomm for getting a job through offcampus
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
what is c?
What are different types of variables in c?
Difference between for loop and while loop?
Why void main is used in c?
How can I make it pause before closing the program output window?
Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
Explain what is a program flowchart and explain how does it help in writing a program?
HOW TO SWAP TWO NOS IN ONE STEP?
#include<stdio.h> int fun(); int i; int main() { while(i) { fun(); main(); } printf("hello \n"); return 0; } int fun() { printf("hi"); } answer is hello.how??wat is tat while(i) mean?
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side? Upload a C program to demonstrate the behaviour of the game.