C Interview questions and Answers | NEW Subjective Interview questions Here are few examples of standard subjective oral questions asked in C interviews. Note how the questions are interrelated and how difficulty of questions increases as interview moves on. A mediocre student will perhaps give up after three or four questions and only those who have clear knowledge of concepts related to C language will make till the last question. I recommend reading online forums‚ books like c loops and pitfall
Premium Data type Programming language
pointer to function (c)ptr is pointer to such function which return type is array. (d)ptr is pointer to array of function. (e)None of these Ans: (b) Explanation: Here ptr is array not pointer. (2) What is meaning of following pointer declaration? int(*(*ptr1)())[2]; (a)ptr is pointer to function. (b)ptr is array of pointer to function (c)ptr is pointer to such function which return type is pointer to an array. (d)ptr is pointer array of function. (e)None of these Answer: (c) Exp: (3)What is size
Premium
7. For the following code‚ which statement is not true? public class Sphere { private double radius; public double x; private double y; private double z; } a.x is available to code that is written outside the Sphere class. b.radius is not available to code written outside the Sphere class. c.radius‚ x‚ y‚ and z are called members of the Sphere class. d.z is available to code that is written outside the Sphere class. ANS: D 8. Which of the following is not part of the method header?
Premium English-language films Java Computer programming
OBJECT ORIENTED PROGRAMMING (OOP) USING C++ A QUESTION BANK Chinmay D.Bhamare 2014 CHINMAY D BHAMARE‚CHALISGAON Its my first Object Oriented Programming (OOP) language Question Bank. In this notes all types of question are available related to c++. Most of the questions are related to BCA syllabus. So enjoy this notes and make your study easy - chinmay D. Bhamare (Smt.S.M.Agrrawal Inst.Of Mgt.‚Chalisgaon) Write Ans. Of Following Question . What is class? The class is one of
Premium Object-oriented programming Java
operators. 2) Write a program to print all the alphabets and their equivalent ASCII values. 3) Write a program to calculate the sum of squares of first n natural numbers using while loop. 4) Write a program to illustrate short hand operators used in C. 5) Write a program to print the multiplication table in the following format. 1 1 2 3 4 5 2 2 4 6 8 10 3 3 6 9 12 15 4 4 8 12 16 20 5 5 10 15 20 25 1 2 3 4 5 6) Write a program to calculate the factorial of a given number. 7) Write a program to
Premium Reference
z/OS XL C/C++ User’s Guide SC09-4767-06 z/OS XL C/C++ User’s Guide SC09-4767-06 Note! Before using this information and the product it supports‚ be sure to read the information in “Notices” on page 657. Seventh Edition (September 2007) This edition applies to XL C/C++ in Version 1 Release 9 of z/OS (5694-A01) and to all subsequent releases until otherwise indicated in new editions. This edition replaces SC09-4767-05. Make sure that you use the correct edition for the level
Premium
Question 1 Which one of the following operators computes the remainder of an integer division? Answer / % \ ! .2 points Question 2 Which one of the following is defined as a sequence of characters? Answer String Constant Integer Variable .2 points Question 3 Which one of the following variables is assigned with valid literals? Answer int salary = 0; salary = 5000.50; unsigned short salary1 = 0; salary1 = 1E6; double salary2
Premium Computer program Programming language Source code
Technical Interview Questions Google Search C++ Interview Questions C# Interview Questions C Interview Questions .........More pub-7003540323 ISO-8859-1 active GALT:#008000;G C ++ Aptitude Questions C Aptitude Questions 2 .........More 3422992112 ISO-8859-1 Aptitude Interview Questions 1 en Bottom of Form Tutorials C Tutorial C++ Tutorial C Aptitude Questions and Answers .........More Programming Source Codes C/C++ Source Codes C# Source Codes
Premium
1. Some of the questions/programs are required to be typed‚ complied‚ run and then observed. 2. If possible try experimenting with concepts revealed by each question. 3. There are 20 objective type questions on ANSI C. PART - A With every use of a memory allocation function‚ what function should be used to release allocated memory which is no longer needed? a.) b.) c.) d.) unalloc() dealloc() release() free() What will print when the sample code above is executed? a.) b.) c.) d.) y= y= Compiler
Free
History of C+ The creation of C++ was first put into motion in 1979 by its creator Bjarne Stroustrup. Bjarne was working on his PhD thesis at Cambridge University. He was using a large and detailed simulator‚ that he had written in Simula‚ to simulate running software over a network of computers. He found programming in Simula enjoyable and was impressed by how the programs class structure helped him organize his code. As the size of his program increased‚ he found that the language became increasingly
Premium Programming language