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; }
@janardhankonasani77413 жыл бұрын
Sir this is a easy way than above code
@ujjwaltyagi57725 жыл бұрын
When will u upload further videos.?
@shivaharidevarajan74984 жыл бұрын
Instead of using if else can we use switch case statements??
@vickyfutbal3 жыл бұрын
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.
@FACEPrep3 жыл бұрын
General format of a for loop is: for(i = 1; i
@shubhamjha57385 жыл бұрын
Nd what's about full stack developer program u talked previous Yr only
@nitinbhardwaj63315 жыл бұрын
When next video will be uploaded?
@057-ramasamyal53 жыл бұрын
pls explain line 6. that particular line is not clear. in reversing a number program
@FACEPrep3 жыл бұрын
Sure, we are just scanning the number as a input from the user in line 6.
@057-ramasamyal53 жыл бұрын
@@FACEPrep ok thank you. And if we put for(a;a>0; (what is happening here));
@FACEPrep3 жыл бұрын
@@057-ramasamyal5 loop is getting initiated
@057-ramasamyal53 жыл бұрын
@@FACEPrep thank you very much
@hariharansaminathan72974 жыл бұрын
running like hell cant understand a thing
@krishshah38744 жыл бұрын
I don't understand anything
@shubhamjha57385 жыл бұрын
Aren't you taking much time in uploading videos
@vickyfutbal3 жыл бұрын
Sir, in the calculator, (+,-,*,/)if I take percentage what should I use - if-else or for loop. Which one will be correct. Please help.