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

void main() { int const * p=5; printf("%d",++(*p)); }

Infosys, Made Easy, State Bank Of India SBI,

3 37029

main() { char s[ ]="man"; int i; for(i=0;s[ i ];i++) printf("\n%c%c%c%c",s[ i ],*(s+i),*(i+s),i[s]); }

DCE,

1 17265

main() { float me = 1.1; double you = 1.1; if(me==you) printf("I love U"); else printf("I hate U"); }

1 9593

main() { static int var = 5; printf("%d ",var--); if(var) main(); }

1 28344

main() { int c[ ]={2.8,3.4,4,6.7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf(" %d ",*c); ++q; } for(j=0;j<5;j++){ printf(" %d ",*p); ++p; } }

1 33016

main() { extern int i; i=20; printf("%d",i); }

Value Labs,

1 14794

main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }

1 25520

main() { char *p; printf("%d %d ",sizeof(*p),sizeof(p)); }

6 23370

main() { int i=3; switch(i) { default:printf("zero"); case 1: printf("one"); break; case 2:printf("two"); break; case 3: printf("three"); break; } }

1 15263

main() { printf("%x",-1<<4); }

HCL, Sokrati, Zoho,

3 45497

main() { char string[]="Hello World"; display(string); } void display(char *string) { printf("%s",string); }

Wipro,

2 11493

main() { int c=- -2; printf("c=%d",c); }

TCS,

1 20348

#define int char main() { int i=65; printf("sizeof(i)=%d",sizeof(i)); }

1 32897

main() { int i=10; i=!i>14; Printf ("i=%d",i); }

1 28659

#include main() { char s[]={'a','b','c','\n','c','\0'}; char *p,*str,*str1; p=&s[3]; str=p; str1=s; printf("%d",++*p + ++*str1-32); }

1 4634


Un-Answered Questions { Code Snippets }

How to palindrom string in c language?

10848


Write a program that print in screen a tree with its height taken from user by entering number of 4 digits and find the odd numbers then calculate the sum of odd numbers so he get the height of tree?

3318


Write a program that will convert an integer pointer to an integer and vice-versa.

847


Code for using a Hot Key in an ActiveX Control?

1370


What is XML DOM Document?

552


write a program that reads a series of strings and prints only those strings begging with letter "b"

3076


Create a Menu that can be activated while clicking on Right Mouse button

2078


What is a StAX Parser?

549


Write a python program to check if a number is a strong number?

803


write a program for area of circumference of shapes

2515


How to use Client-side Script to Focus Controls in ASP.NET?

2914


How to Link Different Data Sources Together?

2255


How to export 2 datatables of a single dataset to 2 different worksheets of a single MSExcel file ?

2377


can everyone explain this code Private Sub DrawRect(rectSource As RECT, lngColour As Long) Line (rectSource.Left, rectSource.Top)-(rectSource.Left, rectSource.Bottom), lngColour Line (rectSource.Left, rectSource.Top)- (rectSource.Right, rectSource.Top), lngColour Line (rectSource.Right, rectSource.Bottom)- (rectSource.Right, rectSource.Top), lngColour Line (rectSource.Right, rectSource.Bottom)- (rectSource.Left, rectSource.Bottom), lngColour End Sub

2591


What is the functionality of GetWindow?

593