C Interview Question | Set-2

C Interview Question | Set-2

C Interview Question | Set-2

interview, interview question, c compiler


9) Difference the source code from the object code

Source codes are codes written by programmers. It is designed with commands and other English-like keywords that dictate what to do with the computer. However, computers do not understand the source code. Therefore, the source code is compiled using the compiler. The resulting products are object codes, in a format understandable to computer processors. In C programming, source code file extensions are saved with .C, object code file extensions are saved with .OBJ

10) In C programming, how do I add quotation marks ('and') to the output screen?

Quotes are usually part of a print f statement so this is a common problem for beginners. To insert a quotation mark as part of the output, use the format specifier (for single quotes) and \ "(for double quotes).

Also Read : As humans who have read a major area of our brain we can ‘recycle’

11) What is the use of this '\0' character?

This ending is called the null character and is mainly used to show the end of the string value.

12) What is the difference between = symbol and == symbol?

Symbols are often used in mathematical works. It is used to assign the value of a given variable. On the other hand, the == symbol, also known as "equal" or "equal", is the relational operator used to compare two values.

13) What is a modulus operator?

The modulus operator provides the rest of the partition. It uses the percentage (%) symbol. For example: 10% 3 = 1, that is, when you divide 10 by 3, the remainder is 1.

14) What is nested loop?

Group loop is a loop running in another loop. Put it another way, you have an inner loop inside the outer loop. In this scenario, the inner loop is performed several times as specified by the outer loop. For each turn in the outer loop, the inner loop is performed first.

15) Which of the following operator is wrong and why? (> =, <=, <>, ==)

<> Wrong. While this operator is not exactly "equal" in writing conditional statements, it is not the correct operator used in C programming. Instead, the operator! = Should be used to indicate "not equal to location".


Upto this set you will have a sure basic knowledge on c 



Recommended post : 



Post a Comment

0 Comments