void main() { int a=1; printf("%d %d %d",a,++a,a++); } the output is supposed to be 1 2 2....but it is 3 3 1 this is due to calling conventions of C. if anyone can explain me how it happens?
7 31178what will be the output of this program........ main() { int a=2,b=4,c=6; printf("%d"); } why it gives the value of third variable.
HCL,
6 8262increment operateor (++)and decrament(--)
#include
Describe for loop and write a c program to sum the series X + x2/2! + x3 /3! + …….. up to fifteen terms.
2 11120Develop a flow chart and write a c program to find the roots of a quadratic equation ax2+bx+c=0 using switch and break statement.
TCS,
1 12343
Is python a c language?
Explain what is the purpose of "extern" keyword in a function declaration?
Is c language still used?
How do we print only part of a string in c?
while initialization of array why we use a[][2] why not a[2][]...?
What is FIFO?
What is structure of c program?
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
Write a code to remove duplicates in a string.
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
What is the size of structure pointer in c?
What is the use of bitwise operator?
Explain what is the difference between a free-standing and a hosted environment?
Can we change the value of static variable in c?
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.