#include
show(int t,va_list ptr1)
{
int a,x,i;
a=va_arg(ptr1,int)
printf("
%d",a)
}
display(char)
{
int x;
listptr;
va_star(otr,s);
n=va_arg(ptr,int);
show(x,ptr);
}
main()
{
display("hello",4,12,13,14,44);
}
No Answer is Posted For this Question
Be the First to Post Answer
What are bit fields? What is their use?
Write a code to remove duplicates in a string.
main() { int a=5; printf(?%d,%d,%d\n?,a,a< <2,a>>2); } Answer: 5,20,1 please explain this code in detail
What is the difference between a free-standing and a hosted environment?
When should you use a type cast?
Which of the following is not an infinite loop ? a.while(1){ .... } b.for(;;){ ... } c.x=0; do{ /*x unaltered within theloop*/ ... }while(x==0); d.# define TRUE 0 ... while(TRUE){ .... }
What happens if you free a pointer twice?
Can you please explain the difference between malloc() and calloc() function?
Write a function that accepts two numbers,say a and b and makes bth bit of a to 0.No other bits of a should get changed.
2 Answers Scientific Atlanta, Wipro,
Describe newline escape sequence with a sample program?
What is a const pointer in c?
Explain how can I avoid the abort, retry, fail messages?