What is wrong with this code?



What is wrong with this code?..

Answer / Aakriti Sharma

Without the specific code, it's difficult to determine what's wrong. However, common mistakes include forgetting semicolons at the end of statements, declaring variables twice, using undefined variables or functions, and having logic errors in the code.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Explain how can a program be made to print the name of a source file where an error occurs?

1 Answers  


print the pattern 1 2 4 3 6 9 4 8 12 16 5 10 15 20 25 if n=5

3 Answers   Winit,


i want to make a program in which we use input having four digits(4321) and get output its reciprocal(1234).

1 Answers  


write a c code "if you give a any decimal number then print that number in english alphabet"? ex: i/p: 552 o/p: five hundred fifty two ...

1 Answers   Philips,


How do I use strcmp?

1 Answers  


Why is c used in embedded systems?

1 Answers  


Explain what is the heap?

1 Answers  


Can we add pointers together?

1 Answers  


convert 0.9375 to binary

2 Answers   CTS, TANCET,


What is string length in c?

1 Answers  


write a c programs to do multiplication of two numbers with out using arithmatic operator ??????????

7 Answers   Infosys, TCS,


Which of the following are valid "include" formats? A)#include and #include[file.h] B)#include (file.h) and #include C)#include [file.h] and #include "file.h" D)#include <file.h> and #include "file.h"

15 Answers   Accenture,


Categories