What is the use of a semicolon (;) at the end of every program statement?
Answer Posted / hrpynux@gmail.com
In computer programming, the semicolon is often used to separate multiple statements (for example, in Perl, Pascal, and SQL; see Pascal: Semicolons as statement separators). In other languages, semicolons are called terminators and are required after every statement (such as in PL/I, Java, and the C family).
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
What are the different types of objects used in c?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
Tell me the use of bit field in c language?
How many parameters should a function have?
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
What is #line in c?
What is typedf?
Explain what is the stack?
what are bit fields? What is the use of bit fields in a structure declaration?
How can I write a function that takes a format string and a variable number of arguments?
write a program to display all prime numbers
Explain about block scope in c?
Are there any problems with performing mathematical operations on different variable types?