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 |
1. Write a c pgm to print 1 to 100 without using loops. 2. Write a c pgm for leap year 3. Write a c pgm fibbonacci series,factorial 4. Write a c pgm count no of lines , blanks, tabs in a para(File concept) 5. Write a c pgm to print the letter as per given condition i.e.. if u give 4 out put should b 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 6.how do get the o/p in number from 1 to 100 in the screen without using control statement? 7. who do u print the word "hello world" without using "printf" statement? 8. write sql program to get the detail of student in a class? Definitions: structure union arrays linkedlist macros directives difference b/w pre processorsDiffrence: 1.Constructors and destructors 2.Structure and Union 3.Array and Lists 4.pre processor... 5. Privillages in C++ 6.structure and union 7.break and continue 8.while and dowhile Pgm..
who is the editor of 'pokemon'?
Would you rather wait for the results of a quicksort, a linear search, or a bubble sort on a 200000 element array? 1) Quicksort 2) Linear Search 3) Bubble Sort
what is the output of below pgm? void main() { int i=0; if(i) printf("pass"); else printf("fail"); }
a character variable can at a time store a) 1 character b) 8 characters c) 254 characters d) none of the above
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
int a[3][5]={ {1,2,3,4,5],{2,3,4,5,6},{10,11,12,13,14}}; int *p=&a; printf(ā%dā,*(*(x+1)+3));
How do we select the big element or any other operation from array which is read dynamically. user need to give the elements only no need to mention the size.
What are qualifiers in c?
create a C program that displays one z,two y's,three x's until twenty six A's. plzz answer i need it tomorrow.
State the difference between realloc and free.