C Programming Interview Questions

You might also like

Download as pdf
Download as pdf
You are on page 1of 50
92072019 programming Interview questions and answers: C interview questions and answers C programming Interview questions and answers C language interview questions solution for freshers beginners placement ticky good pointers answers explanation operators data types arrays recursion preprocessors looping series factorial palindrome code programs examples on c++ tutorials and pat © program examples C imtrvew quetons and anewers ata ype questions Variable naming rls questions Opeators questions Conra tow questions Looping questions Pointer questions Sing questions ‘Structre questions ‘commad tine argument Cty questions ‘examole ofrcursion ne programming forums ‘ata types tutor ne Storage classes torial in Looping aor ine ncton tuts ne ‘Array tutor ne Preprocessor tuoi ine {progam exastes |r Eonoete Uist C interview questions and answers © interview questions and answers for freshers. It is basic c language technical frequently asked interview questions and answers. It includes data structures, pointers interview questions and answers for experienced Interview questions and answer of C with explanation for fresher ~é Write ac program to print Hello world without using any semicolon Explanation: Solution: 2 void main()( if (printf ("Hello worla")) { , Solution: 2 void main()( while (!printé ("Helle world") { Solution: 2 void main()( switch (printf ("Hello world") { , Hide 4 Swap tho variables without using third variable. hitps Awww cquestions.com/2010/Oiesntervew-questions-and-anwers. html hhanaling strings switch case if else printf advance linux objective meq faq online written test prime numbers sat ME ME Bo HEIR 2 sue: er 2 972072019 ‘ite a scant intanin wich acct (Cprogram par Arstong rumba ‘ro 100 ‘Cite guostors ad ancwers Looping questns in card answors ‘Chace even umber prime rumber ot Spt number ino dg in programming programming Interview questions and answers: C interview questions and answers Explanation: Hineludecstdio.n> int main() int a=5,be10; //process one arbeas printf("as td b= t",a,b)s H/process two a5; 0 aeacbo (bea): printf("\na= $d b= $",a,b)7 //process three a5; 07 seats atb; printf("\nas $d be Sd",a,b)s //process four arse belo; aebesaniy accbel; printf("\nas td be 3d"a,b) 7 //process five a5, belo; bea, beab,a-a-by print£("\na= td 8a")ayb): return 0; , Hide 4 nat is dangling pointer in c? Explanation: Dangling pointe: If any pointer is pointing the memory address of any variable but after some variable has deleted from that memory location while pointer is still pointing such memory location. Such pointer is known as dangling pointer and problem is known as dangling pointer problem. initially: hitps Awww. cquestions.com/2010/Oiesntervew.-questions-and-anwers. html 92072019 programming Interview questions and answers: C interview questions and answers hater: For example: What will be output of following ¢ program? Hincludecstdio-n> int ‘call (); int main() ant tptr: ptreeali (Qs flush (stdin) ; printf ("$a","ptr) return 0; , int * call (yi dat return ax; output: Garbage vatue Note: In some compiler you may get warning message returning address of local variable or temporary Explanation: variable x is local variable. Its scope and Lifetime is within the function call hence after returning addzess of x variable x became dead and pointer is still pointing ptr is still pointing to that location. Solution of this problem: Make the variable x is as static variable. In other word we can say a pointer whose pointing object has been deleted is cailed dangling pointer. Hincludecstdio.k> hitps Awww. cquestions.com/2010/Oiesntervew.-questions-and-anwers. html 92072019 programming Interview questions and answers: C interview questions and answers int teal; int main() int *ptr; ptreeall (Qs #flush (stdin) ; printf ("sa",*ptr); return 0; int © call 0s static int x25; return ox; 126 outpu Hide 4 What is wild pointer in c? Explanation: A pointer in ¢ which has not been initialized is known as wild pointer. Example: What will be output of following © program? int main() int "ptry peinté(Mu\a", pte) s BEIntE("SA, *PEE] return 0; , output: Any address Garbage value Here ptr is wild pointer because it has not been Enitialszed. There is difference between the NULL pointer and wild pointer. Null pointer points the base address of Segment while wild po.nter doesn’t point’ any specific menory location. Hide 4 What are merits and demerits of array in c? Explanation: Moric: (a) We can easily access each element of array. (b) Not necessity to declare too many variables. hitps Awww. cquestions.com/2010/Oiesntervew.-questions-and-anwers. html 92072019 programming Interview questions and answers: C interview questions and answers (©) Array elements are stored in continuous memory location. Denerit: (a) wastage of memory space. We cannot change size of array at the run tine, () It can store only similar type of data. Hide 4 Do you know memory repr: ntation of int a Pxplanation: Menory representation of: signed int a=; (an Turhe © compiler) signed short int a7 (Both turbo © and Linux gcc compiler) Binary equivalent of data 7 in 16 bit: 00000000 00000111 Data bit: 0000000 SCd0C1i1 (Take first 15 bit form right side) Sign bit: 0 (Take leftmost one bit) First eight bit of data bit from right side i.e. oooo112 will store in the leftmost byte from right to left side and rest seven bit of data bit i.e. 0000000 will store in rightmost byte from right to left side as shown in the following figure: Hide What is and why array in c? Pxplanation An array is derived data type in ¢ programming language which can store similar type of data in continuous memory location. Data may be primitive type (int, char, float, double..), address of union, structure, pointer, function or another array. Example of array declaration: int arri5]7 char arr[5); hitps Awww. cquestions.com/2010/Oiesntervew.-questions-and-anwers. html programming Interview questions and answers: C interview questions and answers float arr(5]; leng double arr(5)+ char * arriS]; int (art) (07 double ** arr [5]; Array is useful when: (a) We have to store large number of data of similar type. If we have large number of similar kind of variable then it is very difficult to remember name of all variables and write the program. For example: //PROCESS ONE, int main() int iat, int int int iat, int int iat int, int qi int 17 Lat avg? avg> (axto+ogvef f+am+raja+rani+xxx+yyy+ptqte) /127 printf ("so avg); return 0; , Tf we will use array then above program can be written as: /TPROCESS HO int main() int arr(J=(2)2/5)7/8,0/11)5,50}7 int iyavgr fox (int L-07i10) peint£(" "WO"; else Lf (x==25) prints(" CHREEN) + else peint£(" FOUR"); white(y-)s return 07 Output: ONE ONE, Hide hitps hw. cquestions.com/2010/Oiedntervews-questions-and-answers. html 92072019 programming Interview questions and answers: C interview questions and answers 4 What is the meaning of prototype of a function? Explanation: Prototype of a function Declaration of function is known as prototype of a function. Prototype of a function means (2) What is return type of function? (2) What parameters are we passing? (3) For example prototype of printf function is: int printf (const char *) .); Zoe, ite xetusn type is int data type, its first parameter constant character pointer and second parameter is ellipsis i.e. variable number of argunents Hide 4 Write a ¢ program to modify the constant variable in ¢? Explanation: You can modify constant variable with the help of pointers For example: Hincludecstaio.n> int main() int, 05 int ptrsaiz sptre (int *)207 printl("sa,i)3 return 0; What is pointer to a function? Explanation: (2) What will be output if you will execute following code? int " fancion()7 int main() auto int +x; ant + (ptr) 07 per-efunction; xe (ptr) 7 printf (Mah, =x) 5 , hitps Awww. cquestions.com/2010/Oiesntervew.-questions-and-anwers. html 92072019 programming Interview questions and answers: C interview questions and answers int "function () static int acl0; return fa; , output: 10 Explanation: Here function is function whose parameter is void data type and return type is pointer to int data type. Stipes) 0) =(*efunctyion) () //ptrsefunction > xefunction() //from rule *epep > esa So, "Ks thas a =O (2) What will be output if you will execute following code? int find (char) ; int (*funet on (}) (chae) 5 Ent main () Unt x: int (=ptz) (char) sper) (OR); printf ("a",x) 7 return 0; b int find (char c) { return c7 , int (function ()} (chaz) { return find; , output: 65 Explanation: Here function whose name is function which passing void data cype and returning another function whose Parameter is char data type and return type is int data type. sctipte (at) (Hfunction ) (A!) //ptrefunction 0) 7istindsfunction ise. return type of funecion () Soxe ( efind) CRN) find (A) //From rule*ep-p 6 (3) What will be output if you will execute following code? char * cali (int *,float *); Ent main() char tatrings Sat a2; float p62.01; char *(=per) (int*, float *); ptreacall; String=(*ptr) (6a, 6b) ¢ pEinte("$s", string) 5 return 0; 5 char teall (int *4,float +11 static char ‘stre"o-pointer-blogspot.con"; strestre*s+ (int) ("3) return str; , Output: inter. biogspot.com Explanation: Here cali 's function whose return type is pointer to character and one parameter is pointer to int Sata type and second parancter is pointer to float data type and ptr is pointer to such function. sts atreti+ (iat) (3) S"ccpointer-blogspet.com” + *éa+ (int) (*6b) 6 Sterpoinéer.piogspot.cony + a+ (ine) (b) wenpointer . blog som” 42-4 (int) (2.0) nGcpointer:bloyspotscon” 4 Winer blogspoe.com” (4) what will be output if you will execute following code? hitps Awww. cquestions.com/2010/Oiesntervew.-questions-and-anwers. html 92072019 programming Interview questions and answers: C interview questions and answers char far * display(char far); int main() char far* string="cquest ionbank-blogsp: char far *(*ptz) (char far 7); per-adi splay; String (*ptr) (string); printf ("ts", string); b Ghar far ‘display(char far * str) { char far * cempestrs temp=tenp=13; stemp="\0" return str? , Output: cquestionbak Explanation: Here display is function whose parameter is pornter to character and return type is also pointer to character and ptr is its pointer. tenp is char pointer tenp-tenp+ 3 temp="\0" Above two lines replaces first dot character by null character of string of variable string i.e. "equest Lonbank\Oblogspot -con™ As we know %s print the character of stream up to null chazacters Hide 4 Explanation: struct ABC( int float bs char ¢7 int main() struct ABC =ptre(struct ABC *)0; pies printf ("Size of structure is: $a",*ptr)y return 0 Hide 3 wnat is NULL pointer? Explanation: Literal meaning of NULL pointer is a pointer which is peinting te nothing. NULL pointer points the base address SF segment, Examples of NULL pointer: Le int tptrs(char *)07 2. float *ptr= (float *)0; hitps Awww. cquestions.com/2010/Oiesntervew.-questions-and-anwers. html +180 92072019 programming Interview questions and answers: C interview questions and answers 3. char *ptrs(char *)07 4. doubie' *ptr= (double *) 0; 5. char *ptr=/\0" 61 int pte=Nunb; wnat is meaning of NULL? Answer! NULL is macro constant which has been defined in the heard file stdio.h, alloc.h, mem.h, stddef.h and stdlib.h as Hdefine NULL’ Exampies: ()What will be output of following © program? Hinclude "staio.n" int main() LE CNUEE) printf("l know preprocessor"); else print£("r don't know preprocessor"); , output: I know preprocessor Explanation: ‘NULL = !0'= 1 in if condition any non zero number mean true. (2)What wil] be output of following © program? Hinclude "stdio.n" int main() iat fy static int count for (Z-NULL; i<-5;) ( counts? i printf ("ta", count) , 3 outpu (a)What wil] be output of following © program? Hinclude "staio.n" int main() Hinder NOLL Hdefine NOLL 5 fenait printf ("$d",NULL+sizeof (NULL) ) + , output: 2 Explanation: NULL = sizeof (NULL) + sizeoot (0) 70-2 //aize Of int data type is two byte. We cannot copy anything in the NULL pointer. Example: (4)What will be output of following © program? Hnclude "steing.n" int main() char *str-NULis stropy (str, "c-pointer. blogspot.com") + peintt("ish, str); return 0; , output: (null) Hide hitps hw. cquestions.com/2010/Oiedntervews-questions-and-answers. html 92072019 programming Interview questions and answers: C interview questions and answers 0) What is difference between pass by value and pass by reference? Explanation: Inc we can pass the parameters in a function in two different ways. (a)Pass by value: In this approach we pass copy of actual variables” in function asa parameter. Hence any modification on paraneters inside the function will not feflect in the actual variable. for example: Hincludecstdio.n> int main() int a=5,be10; swap (a,b) 3 printé ("sd Be", ayb): return 0 , void swap(int aint b)( int tenp: temp =a; 10 (o)Pass by reference: In this approach we pass mewory address actual variables in function as a parameter. sence any modification on parameters inside the function will reflect in the actual variable. For examp Hincudecstdio.h> int main() iat, e107 swap (éa, ab) 5 printf ("sd $0"/a,b) 7 return 0; , void swap(int taint *b){ int ‘temps temp be tenp: output: 10 5 Hide D Waal is size of void pointer? Explanation: Size of any type of pointer in c is Independent of data type which is pointer is pointing i.e. size of all type of pointer (near) in c is two byte either it is char pointer, hitps Awww. cquestions.com/2010/Oiesntervew.-questions-and-anwers. html 13160 92072019 programming Interview questions and answers: C interview questions and answers double pointer, function pointer or null pointer. Void peinter is not exception of this rule and size of void pointer is also two byte. Hide 4 IM sa ateteronce between uninitialized pointer and mult Explanation: An uninitialized pointer is a pointer which points unknown menory location while null pointer is pointer which points nul. value oz base address of segment. For example: /foninitialized pointer (int #07 //Nuil pointer Hinclude int *reNOLE; — //Sull pointer What will be output of following ¢ program? Aineludecetzing-a> Hinclude int main() char *p; //Uninitialized pointer char *@-NULL; //Null pointer; stropy (p, "quest ionbank") ; strepy (a, "ocuestionbank") 5 printe("ts &s"/pea)s return 0 cquestionbank (null) can you read complex pointer declaration? Explanation: Rule 1. Assign the priority to the pointer declaration considering cedence and associative according co following table. hitps Awww. cquestions.com/2010/Oiesntervew.-questions-and-anwers. html 14150 92072019 programming Interview questions and answers: C interview questions and answers Operator _ Precedance Associative 0.0 *, Identifier Data type (Ot This operator behaves as bracket operator or function operator. [Jt This operator behaves ae array subscription operator +: This operator behaves as pointer operator not as multiplication operator. Identifier: Tt is not an operator but it is name of pointer variable. You will always find the firs: priority will be assigned to the name of pointer. Data type: It is also not an operator. Data types also includes modifier (like signed int, long double ete. You will understand it better by examples: (1) How to read following pointer? char (* ptr) (3) Answer: Step i: () and [] enjoys equal precedence. So rule of associative wil! decide the priority. Its associative is left to right so first priority goes to ( 4 Step 2: Inside the bracket * and ptr enjoy equal precedence. From rule of associative (right co left) first priority goes to ptr and second priority goes to *. Step3: Assign thizd priority te [) Step4: Since data type enjoys least priorit; fourth priority to char. so assign hitps Awww. cquestions.com/2010/Oiesntervew.-questions-and-anwers. html 15150 92072019 programming Interview questions and answers: C interview questions and answers Now read it following manner: pir is pointer te such one dimensional array of size three which content chaz type data. (2) How to read following pointer? float pte) (int) answer! Assign the priority considering precedence and associative. float (* ptr) (int ) 421 3 Now zead it following manner: ptr is pointer to such function whose parameter is int type data and return type is float type data. Rule 2: Assign the priority of each function parameter separately and read it also separately. Understand it through following example. (3) How to read following pointer? void (*ptr) (int (*) [2],int (*) void) Answert Assign the priority considering rule of precedence and associative. Now zead it following manner: ptr is pointer to such function which first parameter is pointes to one dimensional array of size two which contentint type data and second parameter is pointer te such function which parameter is void and return type is int data type and return type is void (4) How to read following pointer? int (* (ptr) 251) ( Answer: Assign the priority considering rule of precedence and associative, hitps Awww. cquestions.com/2010/Oiesntervew.-questions-and-anwers. html 16150 92072019 programming Interview questions and answers: C interview questions and answers int (* (* ptr) 151) O era 2 a) 5 Now read it following manner: ptr is pointer to such array of size five which content are pointer to auch function which parameter is void and return type is int type data. (5) How to cead following pointer? double* (*(*ptr) (int) (double **, char c) Answert Assign the priority considering rule of precedence and associative. double * (* (* ptr) (int) ) (double “, char c ) 7 6421 3 5 Now zead it following manner: ptr is pointer to function which parameter is int type data and return type is pointer to function which first parameter is pointer to pointer of double data type and second parameter is char type data type and return type ispointer to double data type (6) How to read following pointer? unsigned **(*(*ptr) (8) (char const * Answer: Assign the priority considering rule of pr: and associative, unsigned * *(* (* ptr) [8] (char const *, 8 76421 3 5 Now zead it following manner: ptr is pointer to array of size eight and content of array is pointer to function which first parameter is pointer to character constant and second parameter is variable nunber of arguments and return type is pointer to pointer of unsigned int data type, Hide hitps hw. cquestions.com/2010/Oiedntervews-questions-and-answers. html 17180 92072019 programming Interview questions and answers: C interview questions and answers 2) hat are the parameter passing conventions in c? Explanation: 1. pascal: In this style function name should (not necessary } in the uppercase .First parameter of function Gari is passed to. the first parameter of function Gefinttion and so on. 2. cdecl: In this style function nane can be both in the upper case or lower case. First parameter of function call is passed to the last paraneter of function definition. Tt is defauit paraneter passing convention. Examples: 1, What will be output of following program? int main() Static int ae25; void edee! convi) 5 void paseal conv2() 5 conv (a) conv2 (a) return 03; , void cdecl conv? (int a,int b) ( , Yoid pascal conv2 (int a, int b) ‘ , print£("td 8a",a,b)s print£("\ntd ta",a,b)s 1250 outpu 025 (2) What will be output of following program? void edecl funt (int, iat); void pascal fun2(int, int}; Yat main() Ent as5,be5; fun (a, ++a) 5 fund (b, +¥b) 7 return 0; , void cdacl funl (int pint g) printf ("cdeci: $4 $d \n"y,a)e void paseal fun2 (iat p,iat @) peintf("sascal: $e! §a",5,a)7 , output: sdeel: 66 pascal: 5 € (3) What will be output of following program? void cdecl funl (int, int); void pascal fun2 (int, int); int main() int 5, fund (a, t+a) ; fun? (b) +75)? return’ 0; » void edecl funl (int pia ¢) printf ("edeci: 84 8d \a",p,a)s , void pascal fun2 (int p, iat ¢){ printf ("paseal: 8a’ §a",p,a) hitps Awww. cquestions.com/2010/Oiesntervew.-questions-and-anwers. html 18150 92072019 programming Interview questions and answers: C interview questions and answers , output: edeel: 6 pascal: 5) (4) what will be output of following program? void convention (int, int, int); int main () Tae convention (a,tra,att)s return 0; , void convention (int p,int gint £){ printf("sd $d $0"/5,4, 0) 7 , output: 775 (5) What will be output of following program? void pascal convention (int, int, int); Tne man) Ent as5: convention (a,+a,a+) return 07) void pasca: ‘convention (int p,int q,int 1) { printf("td 8d 8a")p,4,013 , output: 5 6 6 (6) What will be output of following program? void pasca convention (int, int); int main() the as: convention {a,#+a)s return 0; , void pascal convention (int a, int b){ printf ("sd 8a",a,b) 5 output: 1 2 (7) What wi11 be output of following program? void convention (int, int) + int main() the convention (a, a); return 0;) void. convention(int a;int bb) printf("id $d",a,b)7 , output: Hide 2 wnat is far pointer in c? Explanation: The pointer which can point or access whole the residence memory of RAM i.e, which can access all 16 segments is known as far pointer hitps Awww. cquestions.com/2010/Oiesntervew.-questions-and-anwers. html 92072019 programming Interview questions and answers: C interview questions and answers print£("$d", sizeof ptr); return 0; output: 4 (2)Wwhat will be ow © progran? int main() ant £ printf ("ed 8d", 2izeof | return 07 tr) , sizeof (*ptr)); output: 4 2 planation: ptr is far pointer while ‘ptr is near pointer. ()What itl be put of following © program? int main() int far *p, far print£("td Sd", sizeof (p) ,sizeof(a))s es: Offset address printf ("8ep" ptr); return 07 hitps Awww. cquestions.com/2010/Oiesntervew.-questions-and-anwers. html 20160 programming Interview questions and answers: C interview questions and answers ovtput: SFDB:FFFA Here HFD# is segment address and FFF4 is offset address in hexadecimal number format. Note: §fp is used for print offset and segment address of pointer in printf function in hexadecimal number format. In the header file dos.h there are three macro functions to get the offset address and segment address from far pointer and vice versa. 2. FPOFF(): To get offset address from far address. 2. BELSEG(): To get segment address from far address. 3. MK_FP(): To make far address from segment and offset Examples: (1)What will be output of following © program? Hinclude "dos.h" int main() int 1-25; int far*ptrsai; printf ("8X 8X", FP SEG(ptr) ,FP OFF (ptr); , output: Any segment and offset address in nunber fornat. respectively, xadecimal (2)what will be output of following © program? Hinclude "dos-n" int main() int 1525; int farsptr-ei; unsigned int s,or SEP SEG(PEE); rFP_OFF (ptr); printf ("8Ep",MK_£P(s,0)) 5 return 0; , Output: BED9:EFF4 (Assume) Note: We cannot guess what will be offset address; address and far address of any far poi segment r These address are decided by operating system. Limitation of far pointer: We cannot change or modify the segment address of given far addzess by applying aay arithmetic operation on it. That is by using arithmetic operator we cannot jump from one segment to other segnent. If you will increment the far address beyond the maximum value of its offset address instead of increnenting segment address it will repeat its offset address in cyclic order. Example: (q)What wi21 be output of following © program? int main() ant 4; char far *ptre(char *) OxBB00EFEA; Fox (i907i c Fong ¢ pant } pint , ete } in) (Coes oxam sad Thnk youre a he ings youre remy god They the persanally was. Fristance, ou nay be avery creative porsn, 03 prsen who's realy aed al aoring to étals oa person wih aa foreommuncaig,Yourtales are he base for any sucess business verre Peng ome based ‘orton (NRK) sal Anonymous sa. wonder tC ‘Anonymous said. ineraon is very 9008 Anonymous said. yeah, realy wonder ino hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 31160 972072019 programming Interview questions and answers: C interview questions and answers 2yr2, 56M Anonymous said. yu he (07) eta by di ube ype dhl lap sao doll Sout a=0,7 savas ss tran (0.7 whch has ts deta sattype dove ) Onn ‘Anahul Jn end. Tiss realy an awesome ola Way 9 got O rerio het ra, 11:36AM Thanks alt is hepa tora ein of O rrerrcopetnesetiekte rari? Teta ace warmer Subart, hap Bis ok Np you ‘Anonymous sa. its voy ust Anonymous sa anu wr a code of ouput 2512 8123 ‘The ihest number 51234 Anonymous ai. sedis Enter alengin oftnes Enter Prt Emer ?tan Ear Prbtoy hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 32160 972072019 programming Interview questions and answers: C interview questions and answers UL wat ply, nae itso badly need program fortis ‘Anonymous fHectuse ved man pent sch vols mani) Pint 3nd 5 On 89 107 etn, am starting team C programming guage butt seems 2 tet Im staying "LET US Cis vor tutto understand he coneet flop & Deron mating questions, od lease me ‘debe how ean prove ny Iaming 321 want make my eave n programming Paso a seme moo qussten ko hank’ for proving value inoraton,t hls a m= ‘00d ste crete ate gives neato or o++ Java. DBMS un sara, 16 Sumit Gupta sald hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 33160 92072019 programming Interview questions and answers: C interview questions and answers PR Ketos ote Blogger ep UW Your good Wok, inemain togned a: foresee for’ = 33g ee) fon = (- ne pet , sours, ean ant wr hay have you done programming using aloe and mat? void mani) fonpivetion) pnt } print , ites eld. agp uit reramis 204 work kop top. :,320M hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 972072019 programming Interview questions and answers: C interview questions and answers “whats th oll otoing suey {select reates(oe 457246) tor ual lel reatet(9 B45) tom ual can anyone expla mes Orr sent ane ising c ii terete) ¢ forgoysipe) ‘ Pent: : pier, , retun 0; , rawr, 2 ant Omer how owt progam fin bith your by NC number Stel Kan ea ta nee uray can ayo tel me the program fr bi bortin7pl sed omy mal faci9S@hgralcom as soon as poss ple rl my raos, we @ c+ aropram's pra fotowing ingle. bas. aborts sae program sich ijandn a neta ype "Send he numba of nae ‘orem togreatar ban or saul 60 trite es an npn 1S: sop he programe ua nar numbsr of nae 123 ert, 606 PM Swama Chand sid. ‘Anonymous sa. ‘eoeice rste(cars) c harp =r hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 35160 92072019 programming Interview questions and answers: C interview questions and answers wl eo) Shutter“ ( Fong nal = 0 tong val =, prot Shing. or oat) pnb sere val aster, ial , , big) pint Sigg! shen, ia , ring c her outa Peter ve runt. Sears" Aut shutter, , om, 258 PM i. ‘Anonymous sa. se ype the program Bis ool py nc ag keira sd yourlog is 20 0 fal an ure se waar Pas rlornen ie NOT possible in, The progtam wi wot however snot on searpl ofpe by slr” ous IN the 10 question... aha const variable? Anonymous said. inemain pon att: : hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 92072019 programming Interview questions and answers: C interview questions and answers prdusieg an erga nalzation Lnave mare hat lp by _Abnishok Alvan ai “Wnati ference btwtendequoue an equ? {Granar Raraingam sada. This program ten in Language’) ‘ercice mae) ¢ hari ieee) foray Pree , Foreitowne) ¢ Pree , pint , , Om Please makes progam reverse the sting “MY NAME 1S KAN lo KHAN IS AY NAME” saans, 142M ‘Anonymous sid. ‘Anonymous sald. whecais the anawarerrerr707? PRASANNA said. 9808 go0earxoaoain0% tno way you oxplan nqt? is awesome hve ver ead.) toctute iemsind c fers (iorenoeerprhon) pen" fore=os-ssie< print") inte , ference) ¢ hitps Awww. cquestions.com/2010/Oiesntervews-questions-and-anwers. html 37180 orev) 972072019 programming Interview questions and answers: C interview questions and answers foro pr fereaesscc(zmpernert) pinta soo) pane } , ourpite Ae abe ABCD Abe ‘cunjan Chauhan saa veis mani) ‘ ijt, Pn. owen r Dupae 40.20 Ble tollmfoge uss in this prom Anonymous seid. oan man is sit you need gp08 work mesoma ret explanation ih vor thang) Ma Rehaomudln sad Your top 0 ef anu esis wa aes ‘yea 182 PM ‘Anonymous sd. ay ogi sare hare peralime Patp me 2014, 4 Pa Anonymous sa. wil a progrmin inp 1 andthe aulpl 100 anya ly pls Anonymous sa. otup an toms connecton ans shar hi omnecon ug pry sare wit Ite sania that on fond answer te queen Anonymous aid. Writ 8" rerem to show wesheay wen ni 1 show Monday 2:vesday. statement? ge me enema the ue hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 972072019 programming Interview questions and answers: C interview questions and answers er) Wat he cup he fotowing cade segment vss wiles end viiliosed ner ‘Anonymous Wat ihe aupuo he folowing cose segment? wl) pene Amat Val sl ss, 942 ay singh el rete void ayia a) iri kdorat eng ferent 1-05-) foresee) pine } ong) forjen to Prine for ¢ prem, , , } void mani) Hy tha apABCOEFC, set arayavi( orn , hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 30460 programming Interview questions and answers: C interview questions and answers Lok Kumaravo ae anu ple hp me to et uti format re sox thers tee annnnnn Anonymous said. “todd ts ne ngage vemaing t scan tng) be number a es fort; Hines ‘ Pint, hat youn foro: =) pn entry sandy heal supe aun ete ine troctuse inert far encom: forever sieichs-conox pnrsizeen } lch== } thet oh } ile =65¢ pnt) , fon: tern) ot oun, , too good ste hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 972072019 programming Interview questions and answers: C interview questions and answers Mani Badan’ eld ‘ray nose contin adres of another verb ie known a8 aay pone. For amp iain feat arD.O1h=1 of c=2 tat enf8a. 8 Penk ar nt his here Par, “nfs sntence reson r Mani Sac eld. 0) Wr program edly the onsen vale ne? lanai You can madly constr arable with he hbo pantas Fer example: inert ia pte “psi 20; STAKE = pn Manih Shad eld, sven 2399 A Manish Shas eid, Pn Sir of str hp ts at provie arene othe val not act vate ue stators: pin Se of tc e403 Pa p98 provide actual value Manish Ban pet ert id. Mani Baca eld, ‘and thing tne cont we can changes valve accept lp of hardware re can use ptr ot tpl ay. using his ete u can ul your rogram what u wat. ia. how we can pint NN matte wihout usb an aay saz, 1:08AM hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 41180 92072019 programming Interview questions and answers: C interview questions and answers pent ron r dont knowhow to wor al an hee nos ope lle wal slp wh explanation fal pros, ifacanugetal the answer for above question It bo vor thar he one {ta programs ority Keyword ne rp puto ripe cult hs i keyword sample np ay yp cup his i rat keyword ys coe for Inpu 2027005 Output 2-193 en ‘esa fori ence pn ! ‘mark yo. such ane colt. eepitu. © treme nwo er eng ery tee eae Tazbseas hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 42160 972072019 programming Interview questions and answers: C interview questions and answers Mankanta Tenn sa Over renner tims te eo sk singh ai, pe alp me 5 gutta sal. roa progren to raw w shap by using heigh=S.ith=2 nc rae twa wn, raneesh guntaala sl, a. Orie Pn he fotowng pat bore $013 1816 Oman Iwan'a 2 pogiam eer Inputs (utpat Yor eee Ips Output No Peas hela me a 000 a8 posse hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 92072019 programming Interview questions and answers: C interview questions and answers ‘uba 6) sald Subs Gj eld. Iovate ououta rogram i226, 620.0 rmonika uppala sa. need program fr long = spre 8s, 98 AM ‘Anonymous sid programing Using esa oop Inperes peony So Heslelon art So alee vane rae How can unsestans pater ne programing. sts, 248 PM Or Crates prom club the slay an bonus bed an sls ol. ommano (tn tneton ge pons.) ln ert nt et slr an nts Catron get bors.) and pass its lt ad salary ete ‘ne bonus amount Cat neon gros) anpac sale ard borden -Calfneon Ssply..) and pas a sary, ets sl, bone _erourt an rat slay o be dsplaye on secon. hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 972072019 programming Interview questions and answers: C interview questions and answers fe} eh uns sll and sary om man) close the bons rain. by fang te oon able rum ta bors amount 9 mn, > 1000 20% faa 501-1000 10% ot salay (in tneton 9 nt slay.) (yn neon py.) get te bonus amour ana ssa tor main) calcul the nt say = eta tent saya ind es say unt sa, dons amauta et sae For main. Enters 1234 Emer tat satay RW 3500.00 rer ttle sos; 750, Si 01208 Uns soa 750| Not Salary RM 3850.00 Pras any hay to continue an someone help me wih his quai? Engr SA Masum sald \Wot a progam tat take arog rumba snp rm sar thon reer th nue" an show which ‘yade toolngs 0 smpbnpu 8 aubut 8% AL lease gon answer Sdomar aa. Very ree post, many ngs totam fom hs, ut vty sma corectonrequiredn 20h quasons ouput part teaye: Range of unged char -128o 127 ehoul be Rage ipod char "28 "21 Peas change th uel signe Nagas muthyal i. hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 45160 92072019 programming Interview questions and answers: C interview questions and answers fe} the i the simile soliton fr that rogram Focluse ved mont) c forirtireoBieee) Nagas muhya ai. boven al ansresr exactly Pht void mont) c ie terns) pnt faerticieg Pent need es questions on plers to ste need deur questions svznts, 739M ‘Bhavan Chandra sad. how ean int 1-50 S000 rtesin tna rogram by sing ae tne val of fst 20,7 wil be 0.70000 and we compare (0.700007) anaon sated co the anew 2! sot, 9:91 Pat Very nee clacton .can up: rove program opr neo wa witout min eon, kumar Macha ald. | am geting cod or is pate, can anyone f you can er with hia thopatom = bees a am geting op as hitps Awww cquestions.com/2010/Oiesntervews-questions-and-anwers. html 92072019 programming Interview questions and answers: C interview questions and answers fe} fe} Daca bee Bishawiet paul si Ho pint cuts how o pot paca ang sac om ha mis ot eae sans, 2198 ‘Anonymous sid. {al be nos she 8 outta rm bots evry Sonal og, bi vary ull far averyen. Want mor lalejob vacances upate Vis Here ‘AoW ald, hallo have ome qusston abut what his reson of and op rena peseonam) (hong 22 iopcz=o) (pee ce il den 88 epmen) (ose) } : totum , Unknown sai, hi tor 5:70; 49) Princ Fos) 99) pnt , reson: r ‘nine, 1220 PM Unknown aa. ASHISH PATEL sad. Paso update 12 quoson xtanston suc A feat: char hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 4780 92072019 programming Interview questions and answers: C interview questions and answers nema vet ABE "psc ABC 0, pies rn of src i: ep Dnt Si of suc ep r thankyou sat, 950 PA Yan Ge ani. suetton 10, vou 10 queston 10; out 10 vee sc reruns tet te st bende Sireaityintase on, Wit program to aoept he nares and maka a7 students nS utes, Prin descending oder the rank tt based a the average ol he S subjects Atop terra a eet arkar a ho © reo tceven ee eiPve wtb ot Fe re) c iri rer=s00%), c Forieikestow) 4 Print } pine , , 286, 649 PM ‘Vasa Su sot blow ptr naCcoA nr aceon 3. ory Programming g.age hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 92072019 programming Interview questions and answers: C interview questions and answers A tecite ireman c Pn nt val Scant a nj fore tono4) fectuse remand ‘ ha sap fort 07244) ‘ fore 050) Pentre , ner, , Om Using Ovi ane congue technaue how can we exalts he peiramial P= avbeves...t ren ata ‘oven port rene, 616, @ mn (Programming Tp Ans Tek Vet Ts ink peuyout.beTBKvuNaWaRM svt 1:09 PM Orrin arg ott shania khan sl, {yu eng rom begnnng a srper ove ss86, 16 1h Kamar sad, on™ hitps Awww cquestons.com/2010/Oiesntervews-questions-and-anwers. html 49160 92072019 programming Interview questions and answers: C interview questions and answers 2 Hob {601 co: ee rocking. tata gps ase, sae, 920 PM Oo wie #plogrenoinput rere an oun dg Ruse whoop sre program shuld Wark owe forza) 0 Negara muthya ai. feeluse rma) prntntorn Scant) fenertreniook feretieesnes) pre co recor, oat Coneent Links to this post Newer Post Home ‘sorbet: Post Commas (om) hitps Awww. cquestions.com/2010/Oiesntervews-questions-and-anwers. html Older Post

You might also like