What is restrict keyword in c?
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between fork() and vfork()?
enum day = { jan = 1 ,feb=4, april, may} what is the value of may? a)4 b)5 c)6 d)11 e)none of the above
What is function in c with example?
main() { static char *s[]={"black","white","yellow","voilet"}; char **ptr[]={s+3,s+2,s+1,s}, ***p; p=ptr; **++p; printf("%s",*--*++p+3); }
In C language what is a 'dangling pointer'?
What is use of pointer?
#include<stdio.h> #include<conio.h> void main() {clrscr(); char another='y'; int num; for(;another=='y';) { printf("Enter a number"); scanf("%d",&num); printf("squre of %d is %d",num,num*num); printf("\nwant to enter another number y/n"); scanf("%c",&another); } getch(); } the above code runs only one time.on entering 'y' the screen disappeares.what can i do?
Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We.....Are....Student “ Note: one .=1 Space Output: "We Are Student"
Write the program for displaying the ten most frequent words in a file such that your program should be efficient in all complexity measures.
Explain how can I remove the trailing spaces from a string?
what will be maximum number of comparisons when number of elements are given?
write a function which accept two numbers from main() and interchange them using pointers?