ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
 Categories  >>  Code Snippets  >>  Programming Code       
 
  C Code (302)   C++ Code (52)   VC++ Code (1)   Java Code (13)   Dot Net Code (69)
  Visual Basic Code (3)   Programming Code AllOther (21)
 
Suggest New Category 
 


 

View Page with Answers
  Question  Asked @ Answers Views     select
 
main() { register int a=2; printf("Address of a = %d",&a); printf("Value of a = %d",a); }  1  19
main() { int i=4,j=7; j = j || i++ && printf("YOU CAN"); printf("%d %d", i, j); }  1  15
main() { int i=5,j=10; i=i&=j&&10; printf("%d %d",i,j); }  1  14
1. const char *a; 2. char* const a; 3. char const *a; -Differentiate the above declarations.  2  22
main() { int i=10,j=20; j = i, j?(i,j)?i:j:j; printf("%d %d",i,j); }  1  12
void main() { static int i; while(i<=10) (i>2)?i++:i--; printf(“%d”, i); }  1  19
void main() { int *mptr, *cptr; mptr = (int*)malloc(sizeof(int)); printf(“%d”,*mptr); int *cptr = (int*)calloc(sizeof(int),1); printf(“%d”,*cptr); }  1  17
main() { int i = 3; for (;i++=0;) printf(“%d”,i); }  1  14
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  13
main() { while (strcmp(“some”,”some\0”)) printf(“Strings are not equal\n”); }  1  20
void ( * abc( int, void ( *def) () ) ) ();  1  13
main() { char p[ ]="%d\n"; p[1] = 'c'; printf(p,65); }  1  13
main() { int i=5; printf(“%d”,i=++i ==6); }  1  10
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  16
main() { char *p = “ayqm”; char c; c = ++*p++; printf(“%c”,c); }  1  12
E-Mail New Answers        Answer Selected Questions       
 
Prev    1    3   [4]    5  ... 7   ... 10   ... 13   ... 16   ... 19   ... 22   ... 25   ... 28   ... 31    Next
 
 
 Programming Code interview questions   Programming Code Interview Questions  Scripts_Markup Code interview questions   Scripts_Markup Code Interview Questions
 
 
 
Un-Answered Questions
 
 Question Views Asked at   Select
 
How many digit have a Polaris 1995 300c.c. 2x4 nad how many have a Polaris 2007 300 c.c 2x4? And what site I can check this information??? 169 FlashTECH
what mean void creat_object?in public class in this code class A{ public: int x; A(){ cout << endl<< "Constructor A";} ~A(){ cout << endl<< "Destructor A, x is\t"<< x;} }; void create_object(); void main() { A a; a.x=10; { A c; c.x=20; } create_object(); } void create_object() { A b; b.x=30; } 31  
How to Split Strings with Regex in Managed C++ Applications? 264 Microsoft
We need to write the function to check the password entered is correct or not based on the following conditions.. a) It must have atleast one lower case character and one digit. b)It must not have any Upper case characters and any special characters c) length should be b/w 5-12. d) It should not have any same immediate patterns like abcanan1 : not acceptable coz of an an pattern abc11se: not acceptable, coz of pattern 11 123sd123 : acceptable, as not immediate pattern adfasdsdf : not acceptable, as no digits Aasdfasd12: not acceptable, as have uppercase character 41  
Teta-Omeg-Big-Oh Show that f(n) = n2 + 3n3 is ;(n3). 250 Qatar-University
Implement a t9 mobile dictionary. (Give code with explanation ) 511 Yahoo
i have two internal tables with customer and credit amount in one table then customer and debit amount in another table. now i need output in single list as customer, credit amount, debit amount and (credit - debit). help me please 83  
How to use Client-side Script to Focus Controls in ASP.NET? 186  
Design an implement of the inputs functions for event mode 299  
Write a program to implement the motion of a bouncing ball using a downward gravitational force and a ground-plane friction force. Initially the ball is to be projected in to space with a given velocity vector 508  
Given a table of the form: Product Sold on A 1/1/1980 B 1/1/1980 C 1/1/1980 A 1/1/1980 B 1/1/1980 C 2/1/1980 A 2/1/1980 There are 30 products and 10,000 records of such type. Also the month period during which sales happened is given to u. Write the program to display the result as: Product Month No. of copies A January 12 A February 15 A March 27 B January 54 B February 15 B March 10 C January 37 195 Nagarro
How to Bind Nested XML to a Repeater Control with Container.DataItem? 371  
Coding for Synchronizing Cache Access in ASP.NET? 216  
Common UI for Multiple web applications. Suppose there are 35 websites using same third party controls.These 3rd party controls are made together that all 35 websites can use these controls.If we put all 3rd party controls and use its dll in 35 websites,only class files will be accessable. But I want to use CSS,images also in all 35 websites. how I can design the N-tier solution for this project. 41 TCS
Implement a command console for changing settings on a particular object. The command console should allow you to enter a string and will return the response (very similar to a terminal session). The commands are as follows: SET propertyname=newvalue will change the target object’s member named “propertyname” to have a value equal to “newvalue”. If the input value is incompatible (i.e. an int being set to a string), print out an appropriate error message. GET propertyname will print out the current value of the target object’s member named “propertyname”. GET * will print out a list of all target object members and their current values. The system should be extensible for future commands and should accept an arbitrary object, such that another developer could insert another object into the system and rely on the command console to get and set the properties correctly. 77  
can any body give me answer to this question please? please give me code in cl with the folling specifications. 1.Accept 2 parameters-date and date type 2.If date type is J then convert date to *MDY format 3.If date type is M convert date to *JUL format 4. Send a program message with the value of converted date? Please give me the answer.Because im practicing in my house.Im taking trining on AS/400. 211  
How to pass multiple rows from one gridview to another gridview after clicking the checkbox. 521 Satyam
I am trying to pass the string firstName from a Servlet called SampleServet. I am running this on eclipse and it tells me that "the value for annotation attribute must be a constant expression. I don't understand why it is giving me this error. @PersonAnnotation(name = SampleServlet.firstName) public class AnnotationClass{ 119  
How to update and insert from datagridview at run time in excel database? 313  
Give the code for Handling Mouse Events? 260  
E-Mail New Answers        Answer Selected Questions
 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com