How can a program be made to print the line number where an error occurs?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

5) Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.without using big int and exponential function

1 Answers   TCS,


code snippet for creating a pyramids triangle ex 1 2 2 3 3 3

4 Answers  


What is oops c?

0 Answers  


List some applications of c programming language?

0 Answers  


what is the difference between #include<stdio.h> and #include "stdio.h" ?

3 Answers  






Consider the following C program. #include <stdio.h> int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How many processes are created when running this program (including the initial one)? Explain

2 Answers  


Can you please explain the difference between strcpy() and memcpy() function?

0 Answers  


What are the usage of pointer in c?

0 Answers  


Can the curly brackets { } be used to enclose a single line of code?

0 Answers  


FILE PROGRAMMING

0 Answers   Wipro,


Which of the following about automatic variables within a function is correct ? a.its type must be declared before using the variable b.they are local c.they are not initialised to zero d.they are global.

6 Answers   FCI, TCS,


Can you define which header file to include at compile time?

0 Answers   Aspire, Infogain,


Categories