how many error occurs in C language ?
Answer Posted / ramajayam
many types error in c language but commonly three types of
error first one syntax error means if any one create a
program in c language to write some codings at that time
the person declared a variable properly for ex:
he create a coding intx; no space in variable name and data
type at that he compiling the program system ask one error
in your program the error is syntax error in particular
line you will not declared properly.
second one logical error
logical error means some input function are output function
is typed wrong at that this type of error occur in your
program for ex: you type input function scan("");
this type of error is run time error
| Is This Answer Correct ? | 22 Yes | 4 No |
Post New Answer View All Answers
Write a C program to count the number of email on text
What is a MAC Address?
How can you avoid including a header more than once?
What is the most efficient way to count the number of bits which are set in an integer?
write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.
What is the explanation for cyclic nature of data types in c?
How main function is called in c?
What is clrscr ()?
How are structure passing and returning implemented?
What is 'bus error'?
What is a pointer and how it is initialized?
Explain how are 16- and 32-bit numbers stored?
What does typedef struct mean?
What is the difference between ++a and a++?
Does c have an equivalent to pascals with statement?