What is stack in c?
No Answer is Posted For this Question
Be the First to Post Answer
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 what is the difference between functions abs() and fabs()?
What is difference between arrays and pointers?
get any number as input except 1 and the output will be 1.without using operators,expressions,array,structure.don't print 1 in printf statement
List out few of the applications that make use of Multilinked Structures?
count the numbers between 100 and 300, that star with 2 and ends with 2
Is c procedural or object oriented?
Is it better to use malloc() or calloc()?
why return type of main is not necessary in linux
WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include<stdio.h> #include<conio.h> void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }
You have an array of n integers, randomly ordered with value 1 to n-1.The array is such that there is only one and one value occurred twice. How will you find this number?
Do string constants represent numerical values?