Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

C Interview Questions
Questions Answers Views Company eMail

main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); } what is the output?

Ramco,

10 19599

main() { int x=5; printf("%d %d %d\n",x,x<<2,x>>2); } what is the output?

Ramco,

9 18497

#define swap1(a,b) a=a+b;b=a-b;a=a-b; main() { int x=5,y=10; swap1(x,y); printf("%d %d\n",x,y); swap2(x,y); printf("%d %d\n",x,y); } int swap2(int a,int b) { int temp; temp=a; b=a; a=temp; return; } what are the outputs?

Ramco,

4 20310

#include main() { char s1[]="Ramco"; char s2[]="Systems"; s1=s2; printf("%s",s1); } what will happen if you executed this code?

Ramco,

4 10163

#include main() { char *p1; char *p2; p1=(char *) malloc(25); p2=(char *) malloc(25); strcpy(p1,"Ramco"); strcpy(p2,"Systems"); strcat(p1,p2); printf("%s",p1); } Tell me the output?

Ramco,

6 16571

main() { int x=10,y=15; x=x++; y=++y; printf("%d %d\n",x,y); } output??

EBS, Ramco, Sangwin, TCS,

19 62002

main() { int a=0; if(a=0) printf("Ramco Systems\n"); printf("India\n"); } output?

Ramco,

7 13445

#include int SumElement(int *,int); void main(void) { int x[10]; int i=10; for(;i;) { i--; *(x+i)=i; } printf("%d",SumElement(x,10)); } int SumElement(int array[],int size) { int i=0; float sum=0; for(;i

Ramco,

5 11266

const char * char * const What is the differnce between the above tow?.

Ramco, TCS,

6 10911

two variables are added answer is stored on not for third variable how it is possible?

3 6428

how to convert binary to decimal and decimal to binary in C lanaguage

BPO, Far East Promotions, IBM, RBS,

7 28383

what is use#in c

3 6934

how to connect oracle in C/C++.

TCS, Wipro,

3 10289

How to use c/c++ code in JAVA

CDAC, IBM, Satyam, Scope International,

10 22304

Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0, Culture=neutral, PublicKeyToken=593777ae2d274679d

TCS,

1 7221


Post New C Questions

Un-Answered Questions { C }

What is function pointer c?

1192


What is signed and unsigned?

1124


Can one function call another?

1173


Why enum is used in c?

1015


What is a method in c?

1211


Explain how do you list files in a directory?

1115


What is the use of putchar function?

1109


How many types of operators are there in c?

1088


what will be the output for the following main() { printf("hi" "hello"); }

11165


What is a structure member in c?

1052


What are the back slash character constants or escape sequence charactersavailable in c?

1231


Explain high-order and low-order bytes.

1169


What are near, far and huge pointers?

1116


Explain why can’t constant values be used to define an array’s initial size?

1401


write a program to display all prime numbers

2021