C Interview Questions
Questions Answers Views Company eMail

Difference between Shallow copy and Deep copy?

861

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

Infosys,

4 5456

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 1885




please send me the code for multiplying sparse matrix using c

1043

what is diference between return 0 and return NULL??

3 2954

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

IBM,

8 8410

What are pointers in C?

KPIT,

5 3960

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

4 3392




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

2039

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 12797

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 2198

LOGIC OF Bodmas?

1 6258

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

HCL,

6 12673

define c

TCS, HCL,

6 3987

what is C?

Syntel,

9 4987


Post New C Questions






Un-Answered Questions { C }

how to construct a simulator keeping the logical boolean gates in c

866


write a program to display all prime numbers

752


write a program to find the given number is prime or not

2391


‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.

1204


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

2039






in iso what are the common technological language?

952


can anyone please tell about the nested interrupts?

911


please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................

789


Is Exception handling possible in c language?

856


how we can make 3d venturing graphics on outer interface

2842


Write a program to produce the following output: 1 2 3 4 5 6 7 8 9 10

10260


how to write a c program to print list of fruits in alpabetical order?

745


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

863


what is the diffrenet bettwen HTTP and internet protocol

704


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

200