Write a program to implement queue.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

Why is sprintf unsafe?

0 Answers  


#include<stdio.h> #include<conio.h> void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }

2 Answers  


How does sizeof know array size?

0 Answers  


Why malloc is faster than calloc?

0 Answers  


What is a memory leak in structures? How can we rectify that?

2 Answers  






char ch="{'H','I',0};printf("%s",ch);what is output

9 Answers   Accenture,


What is the modulus operator?

0 Answers  


Describe explain how arrays can be passed to a user defined function

0 Answers  


When is a void pointer used?

0 Answers  


What is typedef struct in c?

0 Answers  


. Consider the following program main() { int a[5]={1,3,6,7,0}; int *b; b=&a[2]; } The value of b[-1] is (A) 1 (B) 3 (C) -6 (D) none

9 Answers   Oracle,


logic for generating all the combinations of the any number of given letters. ex::::::::: if a,b,c,d are given the o/p should be abcd,dcba,dbac,bcad,................ 4*3*2*1 combinations............

2 Answers   Infosys,


Categories