C Interview Questions
Questions Answers Views Company eMail

Difference between Shallow copy and Deep copy?

1558

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

Infosys,

4 8348

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 2869

please send me the code for multiplying sparse matrix using c

1708

what is diference between return 0 and return NULL??

3 4880

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

IBM,

8 18468

What are pointers in C?

KPIT,

5 6833

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

4 5406

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

2777

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 17812

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); }

IBM,

3 3944

LOGIC OF Bodmas?

1 7368

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

HCL,

7 23270

define c

HCL, TCS,

6 6598

what is C?

Syntel,

9 8557


Post New C Questions

Un-Answered Questions { C }

What is the stack in c?

707


what is a NULL Pointer? Whether it is same as an uninitialized pointer?

743


Why is sprintf unsafe?

605


What is the difference between #include

and #include “header file”?

540


How can I remove the leading spaces from a string?

623






What is scanf_s in c?

621


How can I make sure that my program is the only one accessing a file?

665


Which is the memory area not included in C program? give the reason

1489


Explain b+ tree?

610


Is c easy to learn?

550


Do you know the difference between exit() and _exit() function in c?

599


Differentiate between functions getch() and getche().

609


What is the meaning of ?

595


What are the keywords in c?

632


What is sizeof return in c?

603