answersLogoWhite

0

it's not a statement, it's a function:

len= printf (format, ...more-parameters...);

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the type of printf statement in C?

It is a function.


What is the syntax in getting the highest number in turbo C using the if statement?

#include <limits.h> if (1) { printf ("INT_MAX is %d\n", INT_MAX); printf ("LONG_MAX is %ld\n", LONG_MAX); }


What is the syntax of for loop statement?

syntax: for(initialization;condition;increment) { statements s1; statements s2; } #include<stdio.h> main() { int i,n=5; for(i=0;i<n;i=i+1) { printf("the number s are %d", i); } }


How do you use if statement syntax in a for loop?

You can use any number of if staments within a for-loop, eg: for (i=0; i<10; ++i) { if (i=1) printf ("%d=1\n",i); }


What is use of printf?

printf() is a build-in function under the header file 'stdio.h' in a C programming language. In c++,the same function is accomplished by 'cout' . It is used to display strings enclosed between double quotes. Its syntax is printf("...string/sentences/characters...."); After execution,all the characters between the double quotes will be displayed on the output screen.


What is printf function?

Printf function is used in c language. Printf is used to print something to the standard output. ex: printf ('welcome');


Any violation in the syntax of a program statement is called logic error?

No. A violation in the syntax of a program statement is called a syntax error.


Without printf statement semicolon print the statement?

int main (void) { if(printf("Print whatever you want")) { } }


Is printf keyword?

== == What is printf in c or prototype of printf with example (q) What is prototype of printf function ? Explain each term. Ans: Prototype of printf function is : int printf( const char *format ,…) Explanation of each term : Parameter of printf function is : (three continuous dots) : It is called ellipsis. It indicates the variable number of arguments. Example of ellipsis: #include void ellipsis(int a,...); void main() { int a=5,b=10; clrscr(); ellipsis(a,b); getch(); } void ellipsis(int a,...) { printf("%d ",a); } Output:5 So printf function can have any number of variables as an argument.


What is the prototype of printf function?

in stdio.h:extern int printf (const char *fmt, ...);


What is an example of a syntax?

The way an author chooses to join words into phrases, clauses, and sentences. Syntax is similar to diction, but you can differentiate them by thinking of syntax as the groups of words, while diction refers to the individual words.


How can write the name in c plus plus language without using cout statement?

I believe, you can use C-function - printf().