Which of these functions is safer to use : fgets(), gets()? Why?
No Answer is Posted For this Question
Be the First to Post Answer
Write a program to identify if a given binary tree is balanced or not.
union { char ch[10]; short s; }test; test.s = 0xabcd; main() { printf("%d",ch[10]); }
What is getch?
Write a c program to sort six numbers and find the largest one by using the ladder of if-else? plz do help me
ratio,age,persentage
consagous technology placement paper
Why do we use c for the speed of light?
The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.
Write a program to print "hello world" without using a semicolon?
Explain what is the use of a semicolon (;) at the end of every program statement?
What is void c?
What are the various types of control structures in programming?