Program to reverse a number in C programming | Factorial program in C | AnyBody can Code | #9

  Рет қаралды 12,749

FACE Prep

FACE Prep

Күн бұрын

Пікірлер: 19
@janardhankonasani7741
@janardhankonasani7741 3 жыл бұрын
include int main() { int rev=0,N,i; printf("enter the value of N"); scanf("%d",&N); while(N>0) { rev=(rev*10)+N%10 ; N=N/10; } printf("value is%d",rev); return 0; }
@janardhankonasani7741
@janardhankonasani7741 3 жыл бұрын
Sir this is a easy way than above code
@ujjwaltyagi5772
@ujjwaltyagi5772 5 жыл бұрын
When will u upload further videos.?
@shivaharidevarajan7498
@shivaharidevarajan7498 4 жыл бұрын
Instead of using if else can we use switch case statements??
@vickyfutbal
@vickyfutbal 3 жыл бұрын
Sir, the formula is = for(i=1;i>0;i++), but you take semicolon before the formula as = ( ;a>0;). I hope you will explain it.
@FACEPrep
@FACEPrep 3 жыл бұрын
General format of a for loop is: for(i = 1; i
@shubhamjha5738
@shubhamjha5738 5 жыл бұрын
Nd what's about full stack developer program u talked previous Yr only
@nitinbhardwaj6331
@nitinbhardwaj6331 5 жыл бұрын
When next video will be uploaded?
@057-ramasamyal5
@057-ramasamyal5 3 жыл бұрын
pls explain line 6. that particular line is not clear. in reversing a number program
@FACEPrep
@FACEPrep 3 жыл бұрын
Sure, we are just scanning the number as a input from the user in line 6.
@057-ramasamyal5
@057-ramasamyal5 3 жыл бұрын
@@FACEPrep ok thank you. And if we put for(a;a>0; (what is happening here));
@FACEPrep
@FACEPrep 3 жыл бұрын
@@057-ramasamyal5 loop is getting initiated
@057-ramasamyal5
@057-ramasamyal5 3 жыл бұрын
@@FACEPrep thank you very much
@hariharansaminathan7297
@hariharansaminathan7297 4 жыл бұрын
running like hell cant understand a thing
@krishshah3874
@krishshah3874 4 жыл бұрын
I don't understand anything
@shubhamjha5738
@shubhamjha5738 5 жыл бұрын
Aren't you taking much time in uploading videos
@vickyfutbal
@vickyfutbal 3 жыл бұрын
Sir, in the calculator, (+,-,*,/)if I take percentage what should I use - if-else or for loop. Which one will be correct. Please help.
@FACEPrep
@FACEPrep 3 жыл бұрын
Could you please elaborate?
you will never ask about pointers again after watching this video
8:03
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 102 МЛН
Хасанның өзі эфирге шықты! “Қылмыстық топқа қатысым жоқ” дейді. Талғарда не болды? Халық сене ме?
09:25
Демократиялы Қазақстан / Демократический Казахстан
Рет қаралды 347 М.
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 58 МЛН
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,7 МЛН
String In Char Array VS. Pointer To String Literal | C Programming Tutorial
9:58
Algorithms Explained for Beginners - How I Wish I Was Taught
17:38
Internet Made Coder
Рет қаралды 357 М.
How To Think Like A Programmer
1:00:07
Coding Tech
Рет қаралды 2 МЛН