What are external variables in c?


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

Post New Answer

More C Interview Questions

what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

0 Answers   Gamesa, Satyam,


What does the && operator do in a program code?

0 Answers  


how to add our own function in c library please give details.?

1 Answers   TCS,


What are the types of unary operators?

0 Answers  


Eight queens puzzle

0 Answers  


What is LINKED LIST? How can you access the last element in a linked list?

0 Answers   ADP,


How do you define structure?

0 Answers  


What is the difference between malloc() and realloc()?

2 Answers  


What is the advantage of c?

0 Answers  


Diff: between this 2 classes in terms of memory class A { int i; char c; double d; }; class A { double d; int i; char c; }; How it is calculating?

1 Answers   HCL,


write the function int countchtr(char string[],int ch);which returns the number of timesthe character ch appears in the string. for example the call countchtr("she lives in Newyork",'e') would return 3.

6 Answers  


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.

0 Answers  


Categories