HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

HOW TO USE \t(Tab Character) PERFECTLY IN PRINTFStatements in C Programming?

10,637 views March 13, 2020 15:34

Watch on YouTube
ChannelShiburaj Pappu

Description from the creator

1 \t (Tab) = 7 Spaces (In most operating systems)

Steps:
1) Find the maximum length of character
2) Round it up to the next multiple of 7 and find the quotient (So if 25 characters then 28 is the next higher multiple of 7 with the quotient 4 ie 7 x 4 = 28)
3) Then use the formula to calculate the number of /t

Number of \t = (Quotient from Step 2) - (Number of charachters) / 7

About this tutorial

Shiburaj Pappu published this 15:34 video tutorial on March 13, 2020. It has been watched 10,637 times on YouTube.

Category
Education
Duration
15:34
Published
March 13, 2020
Views
10,637
Likes
75

Tags

Share

This tutorial in other languages