How can I write without the use of printf in C language?

Asked by Last Modified  

Follow 0
Answer

Please enter your answer

Aspired Teaching

puts() can be used instead of printf() for printing a string. puts() moves the cursor to next line.
Comments

Computer Science C++, JAVA, Data Structure

there are few more functions are available in the substitute of printf, such as: 1) putc( ) 2) putchar( ) 2) puts( ) 3) fprintf( ) Examples: strcpy(str1, "tutorialspoint"); strcpy(str2, "compileonline"); puts(str1); puts(str2); ----- putchar(ch); ------- for( ch = 33 ; ch <= 100; ch++ )...
read more
there are few more functions are available in the substitute of printf, such as: 1) putc( ) 2) putchar( ) 2) puts( ) 3) fprintf( ) Examples: strcpy(str1, "tutorialspoint"); strcpy(str2, "compileonline"); puts(str1); puts(str2); ----- putchar(ch); ------- for( ch = 33 ; ch <= 100; ch++ ) {   putc(ch, stdout); } ------ fprintf(stdout,"Example\n"); read less
Comments

Related Questions

What are pointers in C language?
Hi Imran, Hope you are doing good. Are you looking for short answer or long answer? :) Pointers in C are variables that store memory addresses. They point to the location of another variable, allowing...
Imran
0 0
7
What are the advantages of using C over C++?
C++ is a object oriented programming language
Rekha
0 0
5
Is it necessary to mention the header files in the C programming language?
It is absolutely necessary as without inclusion of the same to your program, will lead to the absence of library functions that are present in the header files, your program will have a syntax error.
Hari
Can a file other than a .h file be included with #include?
yes .h -- is just for our understanding that its header file, you are free to put any filename and extention.
Pankaj
0 0
7
how to calculate address of n dimensional matrix
An n dimensional matrix can be of any dimension. Adding a dimension is adding one more index number (to access the element). In 1-D array you the elements are linearly arranged and can be addressed as...
Rupendra

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Java and C trainer
Always think any conspect with real-time example like Object -- object must have states and behaviour then only we will call that thing is Object like fan is Object (rotating,color)

Structures in C
A structure is a collection of one or more data members possibly of different data types, grouped together under a single name for convenient handling. Defining a Structure: In general terms,...

Basics Of C And C++
C++ is powerful, highly flexible, and adaptable programming language that allows software engineers to organise and process information quickly and effectively. But this high-level language is relatively...

Efficient Learning Strategies
Type your notes after class Write your notes onto flashcards - Scrabble -Make posters Review flashcards while walking, at gym, etc. Dog-ear pages in the reading where you can find...

C for Begginers
C is an procedure oriented programming language. For any begginer the word program is new. Program: Set of instructions to be followed by machine or computer. Instruction Examples: Arithmetic instruction...

Recommended Articles

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you