C Interview Questions
Questions Answers Views Company eMail

Difference between Shallow copy and Deep copy?


#include void main() { char *str; long unsigned int add; str="Hello C"; add=&str[0]; printf("%c",add); } What is the output?


4 5283

hello everybody can we change a the adress of a variabl i mean can i put for exemple for a int *p: &p=6 ?????????

1 1842

please send me the code for multiplying sparse matrix using c


what is diference between return 0 and return NULL??

3 2885

#include void main() { int a=5,b=6,c; int x=(a


8 7905

What are pointers in C?


5 3888

what is difference between #include and #include"stdio.h"

4 3322

how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software


Write a function that accepts a sentence as a parameter, and returns the same with each of its words reversed. The returned sentence should have 1 blank space between each pair of words. Demonstrate the usage of this function from a main program. Example: Parameter: “jack and jill went up a hill” Return Value: “kcaj dna llij tnew pu a llih”

Mind Tree,

5 12394

Explain this code. #include void f1(int *k) { *k = *k + 10; } main ( ){ int i; i = 0; printf (" The value of i before call %d \n", i); f1 (&i); printf (" The value of i after call %d \n", i); }


3 2132

LOGIC OF Bodmas?

1 6209

main() { int i = -3,j=2,k=0,m; m= ++i || ++j && ++k; printf("%d%d%d",i,j,k,m); }


6 12059

define c


6 3908

what is C?


9 4909

Post New C Questions

Un-Answered Questions { C }

Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.


we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?


how to build a exercise findig min number of e heap with list imlemented?


I need previous papers of CSC.......plz help out by posting them.......


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }


Why is it important to memset a variable, immediately after allocating memory to it ?


can anyone suggest some site name..where i can get some good data structure puzzles???


All technical questions


Write the test cases for checking a variable having value in range -10.0 to +10.0?


write a c program for swapping two strings using pointer


write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,


write a program in c language to print your bio-data on the screen by using functions.


Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings


Explain the process of converting a Tree into a Binary Tree.