Write the program that calculates and prints the average of
several integers. Assume that the last value read is
sentinel 9999.
No Answer is Posted For this Question
Be the First to Post Answer
What are the Advantages of using macro
number of times a digit is present in a number
what type of errors are checked during compilation
write a program to sum of its digit with using control structure or with out using loop. for ex: let the number is 25634 then answer will be=2+5+6+3+4=20
in malloc and calloc which one is fast and why?
What are inbuilt functions in c?
Can we access array using pointer in c language?
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it. i have done maximum par but i m findind problem in the commented area. please help...
Write a program or provide a pseudo code to flip the 2nd bit of the 32 bit number ! (Phone Screen)
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); }
Explain how can you avoid including a header more than once?
what will be the output: main(){char ch;int a=10;printf("%d",ch);}
36 Answers Accenture, TCS, Wipro,