CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.




Get it now !!
Send your Resume to 6000 Companies
Programming Languages Interview Questions & Answers - Learning Mode
COOLINTERVIEW.COM PROGRAMMING LANGUAGES INTERVIEW QUESTIONS QUESTIONS & ANSWERS - LEARNING MODE

Programming Languages Interview Questions & Answers - Learning Mode

A programming language is a formal computer language or constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs to control the behavior of a machine or to express algorithms. It is a vocabulary and set of grammatical rules for instructing a computer to perform specific tasks. The term programming language usually refers to high-level languages, such as BASIC, C, C++, COBOL, FORTRAN, Ada, and Pascal.

Try Programming Languages Interview Questions & Answers - Exam Mode
Subcategories for Programming Languages Interview Questions & Answers - Learning Mode

Following are sub categories for which Interview Questions & Answers are available under Programming Languages Interview Questions & Answers - Learning Mode. Please select the appropriate sub-category:-

C Interview Questions & Answers (250) Learning Mode | Exam Mode

C++ Interview Questions & Answers (343) Learning Mode | Exam Mode

CGI Programming Interview Questions & Answers (24) Learning Mode | Exam Mode

Delphi Interview Questions & Answers (31) Learning Mode | Exam Mode

DHTML Interview Questions & Answers (23) Learning Mode | Exam Mode

Fortran Interview Questions & Answers (13) Learning Mode | Exam Mode

HTML Interview Questions & Answers (86) Learning Mode | Exam Mode

HTML DOM Interview Questions & Answers (15) Learning Mode | Exam Mode

ILU Interview Questions & Answers (11) Learning Mode | Exam Mode

Lisp Programming Interview Questions & Answers (19) Learning Mode | Exam Mode

Node.JS Interview Questions & Answers (46) Learning Mode | Exam Mode

Pascal Interview Questions & Answers (11) Learning Mode | Exam Mode

Perl Interview Questions & Answers (80) Learning Mode | Exam Mode

PHP Interview Questions & Answers (132) Learning Mode | Exam Mode

Ruby Interview Questions & Answers (28) Learning Mode | Exam Mode

Signature Interview Questions & Answers (10) Learning Mode | Exam Mode

UML Interview Questions & Answers (31) Learning Mode | Exam Mode

VBA Interview Questions & Answers (40) Learning Mode | Exam Mode

Windows Programing Interview Questions & Answers (105) Learning Mode | Exam Mode

XHTML Interview Questions & Answers (58) Learning Mode | Exam Mode

XML Interview Questions & Answers (114) Learning Mode | Exam Mode

XSL Interview Questions & Answers (15) Learning Mode | Exam Mode

1

Sort By : Latest First | Oldest First | By Rating

Programming Languages Interview Questions & Answers - Learning Mode
Try Programming Languages Interview Questions & Answers - Exam Mode
Question: What is the purpose of semicolon in c?

Answer: To terminate the line and move to next instruction. Source: CoolInterview.com
Question: How to create Crystal Report in Visual Basic 6.0

Answer: I want to creat the report of specific no or Specific date or Specific Item wise report using the data report in the vb Source: CoolInterview.com
Question: How to convert decimal to binary and its formula?


Answer: Its very simple ,just divide the decimal number by 2 and note down the remainder(which will be either 1 or 0) ,then again divide the quotient obtained in the first step and note down the remainder..........repeat the step till u get 0 as quotient n write the remainders in reverse order that means the last step remainder will b e the leftmost digit of the binary equivalent of given decimal number. Source: CoolInterview.com
Question: void main()
{
int i=20;j=35,x,y;
x= y++ + x++;
y= ++y + ++x;
printf(" %d %d" , x,y);
}
/* please tell me the value of x and y at each and every moment. i dont need the answer but the explanation of the anamolus behavior of increment expression.*/


Answer: x=1702 y=2560 Source: CoolInterview.com
Question: What is Thread ?
(VC++)
What is the difference between Cmutex and Csemaphone?




Answer: Thread is the smallest set of instructions that can be executed..

Cmutex and Csemaphore are the ways used for synchronization purpose.

the difference between the above two is..Cmutex is a single lock where as csemaphore is a multilock..
Source: CoolInterview.com
Question: How type of questions asked in campus interview? please tell me.

Answer: During Technical interview 85% of the questions asked in campus interviews are basic questions related to your subject(Specialization), rest may
be some difficult. Source: CoolInterview.com
Question: What is LPCTSTR? What does LP denote it?



Answer: LPCTSTR denotes "Long Pointer Const to String". Declaration can be written as const long* str[];LP denotes Long Pointer. Source: CoolInterview.com
Question: What are the differences between malloc() and calloc()?

What are macros? what are its advantages and disadvantages?


Answer: Both malloc and calloc are used for allocating memory dynamically.But the difference is,in malloc elements are not initialised and hence holding garbage values where as in calloc the elements are get initialised.<br><br>Macros are used for speed up the process.The disadvantage is they are not having type_check phenomenon. Source: CoolInterview.com
Question: What is profiling in c or c++?and what is rtdi?is it part of c or c++?

Answer: The C/C++ profiling tools work automatically when you are running your NetBeans project on Solaris, OpenSolaris, and Linux operating systems. The profiling tools gather information about the project's runtime, using external facilities running in the operating system where the project is running. The facilities necessary for detailed information are not available on Windows or Mac platforms.
This tutorial uses a project running on a Solaris SPARC processor-based system with Sun Studio too Source: CoolInterview.com
Question: What will be the output of the expression 11^5

Answer: 11^5 means 11 XOR 5.
convert 11 and 5 to binary.
11=1011
5=0101
11^5=1110 that is 14.
Therefore 11^5=14 Source: CoolInterview.com
Question: In VB which control does not have event?

Answer: common dialog control Source: CoolInterview.com
Question: What is a dangling pointer ?

Answer: Those pointers which pointing to a memory block which is no more exist in the memory. for example Suppose two pointers are pointing to the same memory location and memory is freed using first pointer variable but second pointer is still pointing to the same memory location. the second pointer is a dangling pointer. Source: CoolInterview.com
Question: How a C program will execute(run) automatically even though you have not runned it?

Answer: No answer available currently.
Question: Which is the most powerful programing language and why?

Answer: Java is a good programming language because it is a plateform independent programming language.it use BYTE code.it also use graphics.provide encapsulation. Source: CoolInterview.com
Question: write aprogram 2 convert lower case 2 upper case like "hello world!" the cout will be "HELLO WORLD!"?

Answer: #include<stdio.h>
#include<conio.h>
void main()
{
char ch;
clrscr();
printf("Enter a Character");
scanf("%c",&ch);
if(ch>=97 && ch<=122)
ch=ch+32;
printf("Upper Case =%c",ch);
getch();
}
Source: CoolInterview.com
Question: I am a new programmer in C & can't find <graphics.h> library. can anyone help me with this?

Answer: In the TurboC++ editor, goto menu : Options->Linker->Libraries and check the 'Graphics library' option. Usually it is unchecked.<br> Source: CoolInterview.com
Question: How can we print sum of two number without using main function?

Answer: by using functions
eg:
main()
{
sum();
}
sum()
{
int i,j;
printf("enter i,j values:");
scanf("%d%d",&i,&j);
printf("%d",i+j);
} Source: CoolInterview.com
Question: What is the purpose of the semicolon(;) in languages?

Answer: Semicolon for end of statement.
Compiler easily identify compiler as end of statement. Source: CoolInterview.com
Question: Which language should be learn for getting better job?

Answer: C language should be learn for getting better job.Because C language
is a basic of computer language.without c no other language
is important. Source: CoolInterview.com

1



India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.015625 Seconds