answersLogoWhite

0

Can writeline be used in c?

User Avatar

Anonymous

13y ago
Updated: 8/19/2019

No, WriteLine is Pascal-specific. Use printf:

char name [] = "Tim";

int age= 32;

printf ("name=%s, age=%d\n", name, age);

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is the difference between a readline statement and a writeline statement?

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.


Is it possible to use write line without using console before it?

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.


Why c in and c out used in c?

In the programming language C++, cin is used to input the variable and cout is used to print a certain message or result.


What is print statement in computer science?

"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.


What is diffence between c and c plus plus?

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.


C and c applications?

Yes -- C can be used to write C applications. Obviously!


What is class c fire extinguisher is used for?

A class C fire extinguisher is used for electrical fires. A all purpose A, B, C extinguisher can also be used.


Which language is used for developing windows Operatin system?

C, C++, and C#


Why you use C language in electronic engineering?

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.


What is main function used in c?

if you do not used main function in c program when errors are accrued


What is a C compiler as used in C programming?

In C programming, C compiler is user to translate C source into C object module.


The mainly used programming language to Windows XP is?

C, C++, C# I think.