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



Code Snippets Interview Questions
Questions Answers Views Company eMail

int swap(int *a,int *b) { *a=*a+*b;*b=*a-*b;*a=*a-*b; } main() { int x=10,y=20; swap(&x,&y); printf("x= %d y = %d\n",x,y); }

1 9254

main() { char *p = “ayqm”; printf(“%c”,++*(p++)); }

IBM, TCS, UGC NET, Wipro,

29 52488

main() { int i=5; printf("%d",++i++); }

1 4546

main() { char *p = “ayqm”; char c; c = ++*p++; printf(“%c”,c); }

1 5941

int aaa() {printf(“Hi”);} int bbb(){printf(“hello”);} iny ccc(){printf(“bye”);} main() { int ( * ptr[3]) (); ptr[0] = aaa; ptr[1] = bbb; ptr[2] =ccc; ptr[2](); }

1 9225

main() { int i=5; printf(“%d”,i=++i ==6); }

1 12179

main() { char p[ ]="%d\n"; p[1] = 'c'; printf(p,65); }

2 18508

void ( * abc( int, void ( *def) () ) ) ();

1 7091

main() { while (strcmp(“some”,”some\0”)) printf(“Strings are not equal\n”); }

1 6131

main() { char str1[] = {‘s’,’o’,’m’,’e’}; char str2[] = {‘s’,’o’,’m’,’e’,’\0’}; while (strcmp(str1,str2)) printf(“Strings are not equal\n”); }

1 6224

main() { int i = 3; for (;i++=0;) printf(“%d”,i); }

CSC,

1 13190

void main() { int *mptr, *cptr; mptr = (int*)malloc(sizeof(int)); printf(“%d”,*mptr); int *cptr = (int*)calloc(sizeof(int),1); printf(“%d”,*cptr); }

1 6685

void main() { static int i; while(i<=10) (i>2)?i++:i--; printf(“%d”, i); }

2 14080

main() { int i=10,j=20; j = i, j?(i,j)?i:j:j; printf("%d %d",i,j); }

Adobe, CSC,

2 25858

1. const char *a; 2. char* const a; 3. char const *a; -Differentiate the above declarations.

3 6092


Un-Answered Questions { Code Snippets }

1.What happens to a session object when the browser associated with it is closed? 2. Explain what happens when a servlet is sent a POST request? 3. Why does only one copy of a servlet get created? 4. Explain what happens when a browser requests a servlet? (for the first time) 5.How is information stored in a session object?

2441


How can i know that how many user are visited to my page in php?

2052


What is Generic" J2ME architecture?

2239


Given a circular list of integers (when you reach the end of the list you come back to the beginning), what is the most efficient algorithm to find the smallest integer in the list? For example: circular_list = [22, 52, 66, 82, 5, 8, 12, 19].

1751


code to detect versions of different browsers like internet explorer, netscape, mozilla, opera etc

2171


What is the functionality of GetDesktopWindow?

588


how to create a search bar which access data from various websites and retrieves the data

2978


How to Bind Nested XML to a Repeater Control with Container.DataItem?

3642


sample code to auto focusing the first field in a form

2471


What are the basic rules while writing XML?

538


What output does this program generate as shown? Why? class A { A() { cout << "A::A()" << endl; } ~A() { cout << "A::~A()" << endl; throw "A::exception"; } }; class B { B() { cout << "B::B()" << endl; throw "B::exception"; } ~B() { cout << "B::~B()"; } }; int main(int, char**) { try { cout << "Entering try...catch block" << endl; A objectA; B objectB; cout << "Exiting try...catch block" << endl; } catch (char* ex) { cout << ex << endl; } return 0; }

1046


iam getting keyword or delimiter error while executing ICETOOL,provide me solution.

1388


plz send code for feature rich resume builder in j2ee frontend:J2EE Backend: DB2 Express

3666


Cluster head selection in Wireless Sensor Network using C programming language.

3757


Who is responsible for XML?

608