UrbanPro

Learn C Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

What is the meaning of \n and \t in C language?

Asked by Last Modified  

Follow 3
Answer

Please enter your answer

My teaching experience 12 years

\n (New line) -- We use it to shift the cursor control to the new line. \t (Horizontal tab) -- We use it to shift the cursor to a couple of spaces to the right in the same line.
Comments

I am a tutor since last 1 year

\n (New line) -- We use it to shift the cursor control to the new line. \t (Horizontal tab) -- We use it to shift the cursor to a couple of spaces to the right in the same line.
Comments

"Rajesh Kumar N: Guiding Young Minds from 1 to 12 with Expertise and Care"

\n = newline (moves to next line) \t = tab (adds horizontal space)
Comments

C, HTML,CSS trainer with 1 year of experience

\n in printf statement means NEXT LINE whereas \t refers to Tab space
Comments

"Fueling Future Innovators with a Decade of Embedded and Tech Expertise"

\t – Horizontal Tab It inserts a tab space (usually about 8 spaces, depending on the system). Used to align text neatly in columns. \n – New Line It moves the cursor to the beginning of the next line. Equivalent to pressing Enter.
read more
\t – Horizontal Tab It inserts a tab space (usually about 8 spaces, depending on the system). Used to align text neatly in columns. \n – New Line It moves the cursor to the beginning of the next line. Equivalent to pressing Enter. read less
Comments

View 3 more Answers

Related Questions

What is the program for print calendar?
int fm(int date, int month,year) { int fmonth, leap; //leap function 1 for leap & 0 for non-leap if ((year % 100 == 0) && (year % 400 != 0)) leap = 0; else if (year % 4 == 0) ...
Yatindra
How to improve my c knowledge........
practice it as much as possible. for beginning, use let us c by yashwant kanetkar
Anish
What is the concatenation operator?
The concatenation operator (##) is used to concatenate (combine) two separate strings into one single string. The concatenation operator is often used in C macros.
R.s.praveen
What is meant by high-order and low-order bytes?
Lower order and higher-order bytes are the terms used while computing calculations in a programming language. Usually, numbers are written from left to right. The left is the most significant bit, and...
Vishal
0 0
9

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

Ask a Question

Related Lessons

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

Swapping variable contents using C
/* WAP to swap the content of variables using C*/ //Header files #include<stdio.h>#include<conio.h> //Main function void main(){ //Variable declaration of type integer int a,b,c; //function...

What is a Programming Language
What is a Language? Language is a communication system of human. What is a programming Language? A programming Language is a formal constructed language design to communicate...

Programing Languages Learning Tricks
You want to learn that new language or library or framework as soon as possible, right? That’s understandable. Fortunately, there are a handful of tips that can help you to better retain all of that...
H

Harshal G.

0 0
0

An Interesting discussion about malloc( ) and calloc( )
What are malloc( ) and calloc( )? Simply putting they are the predefined functions in C language. Malloc( ) and calloc( ) are two such functions which are used for more or less identical purpose and...

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
X

Looking for C Language Classes?

The best tutors for C Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C Language with the Best Tutors

The best Tutors for C Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more