Explain the difference between fopen() and freopen().
Answer Posted / hr@tgksolutions.com
fopen(): Opens a new file.
freopen(): Reopens a file stream to a different file or mode.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
Write a program to print all permutations of a given string.
What is enumerated data type in c?
Is r written in c?
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
What are the three constants used in c?
What is f'n in math?
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); }
What is main function in c?
What is "Hungarian Notation"?
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
What is multidimensional arrays
What is c mainly used for?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
Write a program to identify if a given binary tree is balanced or not.