which operator having highest precedence?
a.)+ b.)++ c.)= d.)%
Answers were Sorted based on User's Feedback
study the code: #include<stdio.h> void main() { const int a=100; int *p; p=&a; (*p)++; printf("a=%dn(*p)=%dn",a,*p); } What is printed? A)100,101 B)100,100 C)101,101 D)None of the above
What is the significance of scope resolution operator?
0 Answers Agilent, ZS Associates,
proc() { static i=10; printf("%d",i); } If this proc() is called second time, what is the output?
How will you divide two numbers in a MACRO?
What are global variables?
Explain how do you determine the length of a string value that was stored in a variable?
. A database table called PERSON contains the fields NAME, BASIC and HRA. Write a computer program to print a report which employee name and total salary for those employees whose total salary is more than 10,000. Total Salary = BASIC + HRA. At the end, the program should also print the total number of employees whose total salary is more than 10,000.
c program to add and delete an element from circular queue using array
What is the difference between #include <header file> and #include “header file”?
what are the difference between ANSI C and Let Us c and Turbo C
what will be the output of the following program, justify? #define TEST int TEST getdata() { static i; i+=10; return i; } main() { int k; k = getdata(); }
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?