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



Programming Languages Interview Questions
Questions Answers Views Company eMail

Switch (i) i=1; case 1 i++; case 2 ++i; break; case 3 --i; Output of i after executing the program

Mascot,

5 10418

char S; char S[6]= " HELLO"; printf("%s ",S[6]); output of the above program ? (0, ASCII 0, I,unpredictable)

Mascot,

7 14729

Unsigned char c; for ( c=0;c!=256;c++2) printf("%d",c); No. of times the loop is executed ?

Mascot, TCS,

8 20764

int i; i=2; i++; if(i=4) { printf(i=4); } else { printf(i=3); } output of the program ?

Mascot,

15 21631

write a C code to reverse a string using a recursive function, without swapping or using an extra memory.

Motorola, TCS, Wipro,

9 43510

write a C code To reverse a linked list

Motorola, Wipro,

2 15288

Difference between Class and Struct.

Ericsson, Motorola, Wipro,

13 41381

Tell about strtok & strstr functions

HCL, iFlex, Motorola,

2 19711

two progs are given. one starts counting frm 0 to MAX and the other stars frm MAX to 0. which one executes fast.

Verifone,

5 9360

Data structure used to impliment a menu:

Verifone,

2752

int a=2,b=3,c=4; printf("a=%d,b=%d\n",a,b,c); what is the o/p?

Verifone,

6 22837

C program code int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15

TCS, Wipro,

6 24292

n=7623 { temp=n/10; result=temp*10+ result; n=n/10 }

Wipro,

7 14008

Number of null pointers in any binary tree

Infosys,

5 9565

int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15

Wipro,

10 17979


Un-Answered Questions { Programming Languages }

What is the best way to comment out a section of code that contains comments?

1393


What is encapsulation in c++ with example?

1048


Why do we show php code in browser?

1124


What are interfaces to go language?

1


What is isset and unset in php?

1078


How to create a power function?

2069


What is an auto keyword in c?

1153


What is meant by 'bit masking'?

1442


Tell me about important protocol being used in objective c?

1


What is the best way to avoid email sent through php getting into the spam folder?

1040


Explain what is the common way for the flask script to work?

929


What is wrong with this declaration?

1160


what is data abstraction in C++?

1128


How will you print a list of all unique words from a string which may contain repeated words?

1004


how to use C++?

2618