No, WriteLine is Pascal-specific. Use printf:
char name [] = "Tim";
int age= 32;
printf ("name=%s, age=%d\n", name, age);
The readline statement method of programming will allow for the next statement in the sequence to be read. The writeline method of programming only allows for the current statement or sequence to be read after determining the end of the last line.
Yes, but why would you? Object oriented programming is about sending a message to an object. Console.WriteLine() is a perfect example: you are sending a message to Console to invoke its Writeline() method. Of course you can implement a WriteLine() function yourself, yet it is the same as sending a message to the calling object. anObject.Method() is one of the basis. So why omit Console? Then which object will receive Writeline() message.
In the programming language C++, cin is used to input the variable and cout is used to print a certain message or result.
"Print" is no more something understandable in computer science. Once it meant outputing something on the printer, and depending on the language used the statement would have been "print", "write" or "out". Now in modern programming, outputting something somewhere is done by calling a library procedure or function, usually "write", "writeline", still depending on the library used. This same name can be used to output the data on screen, paper or file for instance.
main difference b/w c and c++ is that c is procedural language whereas c++ is object oriented language also classes are not used in c but in c++ classes are used.
Yes -- C can be used to write C applications. Obviously!
A class C fire extinguisher is used for electrical fires. A all purpose A, B, C extinguisher can also be used.
C, C++, and C#
C is a structured language. Controlled structures used in electronic engineering can be programmed well by C. C++ and C sharp are also used sometimes.
if you do not used main function in c program when errors are accrued
In C programming, C compiler is user to translate C source into C object module.
C, C++, C# I think.