write aprogram for
There is a mobile keypad
with numbers 0-9 and alphabets on it. take input of 7 keys
and then form a
word from the alphabets present on those keys.
What is static memory allocation? Explain
Explain what are header files and explain what are its uses in c programming?
Write a program with dynamically allocation of variable.
What do you understand by friend-functions? How are they used?
What are the types of i/o functions?
What are the storage classes in C?
What is the use of gets and puts?
How can you increase the size of a dynamically allocated array?
Write a program which has the following seven functions. The functions should be: • main() this calls the other 6 functions • fget_long() a function which returns a long data type from a file • fget_short() a function which returns a short integer variable from a file • fget_float() a function which returns a floating point variable from a file • fprt_long() a function which prints its single, long argument into a file • fprt_short() a function which prints its single, short argument into a file • fprt_float() a function which prints its single, floating point argument into a file. You should use fscanf() to get the values of the variables from the input (the file) and fprintf() to print the values to the other file. Pay attention to using the correct format for each of the data types.
Find the O/p of the following 1) #include int main() { char c='1'; int j=atoi(c); }
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
write a program to find out prime number using sieve case?