| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| To what value do nonglobal variables default?
1) auto
2) register
3) static
| | 4 |
| what is the difference between strcpy() and memcpy() function? | | 1 |
| size maximum allocated by calloc() | DELL | 1 |
| Write a program to give following output.....
*********
**** ****
*** ***
** **
* *
** **
*** ***
**** ****
********* | | 2 |
| what is the difference between malloc() and calloc() function? | | 1 |
| what is the difference between c and java? | | 1 |
| How to use c/c++ code in JAVA | Satyam | 7 |
| Define function ?Explain about arguments? | Geometric-Software | 2 |
| HOW CAN ADD OUR FUNCTION IN LIBRARY. | | 5 |
| Consider a language that does not have arrays but does have
stacks as a data type.and PUSH POP..are all defined .Show
how a one dimensional array can be implemented by using two
stacks. | Google | 3 |
| writw a program to insert an element in the begning of a
doubly linked list | | 1 |
| What is the memory allocated by the following definition ?
int (*x)(); | ADITI | 2 |
| Write a C program that computes the value ex by using the
formula
ex =1+x/1!+x2/2!+x3+3!+………….
| | 1 |
| plz answer.... write a program that reads line (using
getline) e.g."345", converts each line to an integer
using "atoi" and computes the average of all the numbers
read. also compute the standard deviation. | | 1 |
| swap two integer variables without using a third temporary
variable? | | 2 |
| How to add two numbers with using function?
| | 3 |
| What is the output of the following program
#include<stdio.h>
main()
{
int i=0;
fork();
printf("%d",i++);
fork();
printf("%d",i++);
fork();
wait();
} | ADITI | 5 |
| Predict the output or error(s) for the following:
25. main()
{
printf("%p",main);
}
| ME | 3 |
| What is RAM memory? and What is ROM?Who designed one is
temparary and another is permanent?why they designed like
that?By using far pointer which type data(whether
hexadecimal)we can access? | Excel | 1 |
| parkside's triangle..
create a program like this..
enter the size: 6
enter the seed: 1
output:
1
23
456
7891
23456
789123
sample2:
enter the size: 5
enter the seed: 3
output:
3
45
678
9123
45678
parkside should not exceed 10 while its seed should only be
not more than 9.. | | 4 |
| |
| For more C Interview Questions Click Here |