what is syntax error?
Answers were Sorted based on User's Feedback
Answer / arun
syntax error is a compile time error. when a code does not
follow all the predefined syntax. then such error was occured
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / deepti khanna
synatx error is a compile type error. it will occur when
the programmer doesnot follow the standard rules or
syntax of programming.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / abhishek rajput
Its a compile time error
that occurs whenever
we does not follow the
predefined rules and
misplaces the symbols
like brackets, semi
colon, colon etc..
| Is This Answer Correct ? | 0 Yes | 0 No |
void main() { for(int i=0;i<5;i++); printf("%d",i); } What is the output?..
32 Answers College School Exams Tests, CTS, HCL, iGate, SmartData,
class test { int a; public: test(int b):a(b){} void show(){ cout<<a; } }; void main() { test t1; test t2(5); t1.show(); t2.show(); } }
UINT i,j; i = j = 0; i = ( i++ > ++j ) ? i++ : i--; explain pls....
Why are memory errors hard to debug?
main() { char c; for(c='A';c<='Z';c++) getch(); }
what is the error in the following code: main() { int i=400,j; j=(i*i)/i; }
I'm having trouble with coming up with the correct code. Thank You!! The assignment was to write a program using string functions that accepts a price of an item and displays its coded value. The base of the keys: X C O M P U T E R S 0 1 2 3 4 5 6 7 8 9 Sample I/O Dialogue: Enter Price: 489.50 Coded Value: PRS.UX
full c programming error question based problem
A sample program using data structure? what is file handling?
char* f() return "hello:"; void main() {char *str=f(); }
how to convert decimal to hexadecimal without using arrays just loops
Assume that the int variables i and j have been declared, and that n has been declared and initialized. Write code that causes a "triangle" of asterisks of size n to be output to the screen. Specifically, n lines should be printed out, the first consisting of a single asterisk, the second consisting of two asterisks, the third consistings of three, etc. The last line should consist of n asterisks. Thus, for example, if n has value 3, the output of your code should be * ** *** You should not output any space characters. Hint: Use a for loop nested inside another for loop.