Tell me is null always defined as 0(zero)?


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

Post New Answer

More C Interview Questions

how can we Declare a variable in c without defining it.

1 Answers   TCS,


What is extern storage class in c?

0 Answers  


What are the application of void data type in c?

0 Answers  


Where is c used?

0 Answers  


if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.

1 Answers   TCS,






how to write optimum code to divide a 50 digit number with a 25 digit number??

0 Answers   MGM,


how to find sum of 5 digits in C?

4 Answers  


What will be result of the following program? void myalloc(char *x, int n) { x= (char *)malloc(n*sizeof(char)); memset(x,\0,n*sizeof(char)); } main() { char *g="String"; myalloc(g,20); strcpy(g,"Oldstring"); printf("The string is %s",g); } a) The string is : String b) Run time error/Core dump c) The string is : Oldstring d) Syntax error during compilation e) None of these

3 Answers   IBM,


how memory store byte

4 Answers   Huawei,


how is the examination pattern?

0 Answers   Wipro,


c program to subtract between two numbers without using '-' sign and subtract function.

1 Answers  


24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?

0 Answers  


Categories