Answer Posted / kiran kumar yakkala
#define ~toggle(val,n) var^=1<<n
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
How are pointers declared in c?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
Why c is called top down?
What is difference between function overloading and operator overloading?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
Explain how do you determine whether to use a stream function or a low-level function?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
How many keywords (reserve words) are in c?
Give me the code of in-order recursive and non-recursive.
What is %lu in c?
What are near, far and huge pointers?
Can a local variable be volatile in c?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
What is difference between arrays and pointers?
What is the difference between class and object in c?