C Interview Questions
Questions Answers Views Company eMail

Print the foll in C...eg when n=5 the o/p must b + + + + + + + + + + + + + + + + +

1 3057

how can i get output like this? 1 2 3 4 5 6

Excel,

6 6636

what is the output of following question? void main() { int i=0,a[3]; a[i]=i++; printf("%d",a[i] }

3 4261

WHAT IS MEANT BY LIFE?

2 3628

what is the difference between c and java?

1 4057

what is mallloc()?how it works?

Excel,

4 6582

how can we use static and extern?and where can we use this?

Excel,

3 6513

how to use enum datatype?Please explain me?

Excel,

3 5227

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 4669

What are the languages are portable and platform independent?Why they are like that?

Excel, Satyam,

1 3659

pointer_variable=(typecasting datatype*)malloc(sizeof(datatype)); This is the syntax for malloc?Please explain this,how it work with an example?

eClerx, Excel, kenexa,

2 8435

how can i get this by using for loop? * ** * **** * ******

Excel,

3 4321

#include int main ( int argc, char* argv [ ] ) { int value1 = 10; int value2 = 5; printf ( "\n The sum is :%d", value1 | value2 ); } This is the answer asked by some one to add two numbers with out using arithmetic operator?Yes this answer is write it given out put as 15.But how????? what is need of following line? int main ( int argc, char* argv [ ] ) how it work?what is the meaning for this line? please explain me.Advance thanks

Excel,

9 14360

Why data types in all programming languages have some range? Why ritche have disigned first time likethat?Why not a single data type can support all other types?

Excel,

2 4150

write a program structure to find average of given number

1 4994


Post New C Questions

Un-Answered Questions { C }

How does free() know explain how much memory to release?

711


Here is a neat trick for checking whether two strings are equal

672


What are control structures? What are the different types?

712


What is the difference between mpi and openmp?

851


Is there any demerits of using pointer?

722






Array is an lvalue or not?

756


Why c is a procedural language?

713


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

1375


int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;

1228


Explain what is the difference between text files and binary files?

733


How do I use strcmp?

752


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

1248


What is c standard library?

797


Is there any possibility to create customized header file with c programming language?

729


How do I create a directory? How do I remove a directory (and its contents)?

706