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 19318

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

Ramco,

9 18183

#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 20131

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

Ramco,

4 10009

#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 16358

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

EBS, Ramco, Sangwin, TCS,

19 61323

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

Ramco,

7 13222

#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 11062

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

Ramco, TCS,

6 10642

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

3 6306

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

BPO, Far East Promotions, IBM, RBS,

7 28134

what is use#in c

3 6771

how to connect oracle in C/C++.

TCS, Wipro,

3 10148

How to use c/c++ code in JAVA

CDAC, IBM, Satyam, Scope International,

10 21955

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

TCS,

1 7136


Post New C Questions

Un-Answered Questions { C }

1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.

2148


What is include directive in c?

1154


What is type qualifiers?

1130


How can I swap two values without using a temporary?

1103


Why do we use static in c?

1123


What are terms in math?

1045


Differentiate between the = symbol and == symbol?

1293


If you know then define #pragma?

1102


What is pointer to pointer in c?

1105


How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

1030


What is #define in c?

1046


Compare array data type to pointer data type

1021


Explain how can you restore a redirected standard stream?

1097


How can I copy just a portion of a string?

1308


Explain what does the function toupper() do?

1071