sir please help me.why your program giving output "pakistani rupees"??? I do not understand. #include #define COUNTRY india int main() { #if COUNTRY==pakistan printf("Pakistani Rupees"); #elif COUNTRY==bangladesh printf("Taka"); #elif COUNTRY==Nepal printf("Nepali Rupees"); #else printf("indian rupees"); #endif // COUNTRY return 0; }
Thank you❤ so much 💯sir your teaching style is really very amazing😍👍👍👍🤩 some videos has little problems that l couldn't understand in first view but after watching three to 😂 four time now everything is Cristal clear again thank you ❤❤❤🙏🙏🙏so much sir👌👌😊😊 and lots of ❤ from my side... 🙏🙏
iam not hindi wali iam from Afghanistan but i love sir g tutorials. which things that i cant understand from other's i learned from sir g like function
sir... if elif else endif vale program ka example Apne Jese bataya as it is Mene main function me likha Lekin "constant expression requireed" ye error AA rahi he...plz help me to solve this error
sir why is if, else ,else if more used than the #if and #elif infact if a condition if true then only that condition insde #if is going to the compiler but in normal 'if' all conditions go to the compiler and then get run won't the #if will make program efficient ?
SIR APNE #DEFINE KE PROGRAM MEIN BTAYA THA KI AGAR CONDITION TRUE NHI HOGI TO WO PRINT NHI HOGA BUT I RUN THAT PROGRAM IT PRINTED PASKITANI RUPEES WHY???????
6:55 If the condition is false then, the statement following the condition won't be compiled as you said. but Can I say that the statement following the false condition will be removed?
you must be facing problem while you are dealing with string.right? try writing set of characters within ' ' like :- #define name 'ROHAN' #if name == 'ROHAN' void main() { printf("i am sorry tannvi you will marry tannu"); } #else void main() { printf("TANNU WEDS TANNVI"); } #endif
hello sir please give me reply as soon as possible I saw your all video about c language but in this video u were explaining about #if #elif #else #endif .but which example u used for explaining I tried that on turbo and also on code block but I got error it was "constant expression required "I do not know how to solve this error
no such file or directory compilation terminated...(sir hr baar yahi error ata hy) #include using namespace std; void printing(void); printing() { for(int i=0;i
sir g Preprocessor to bahut mast ha mazaa aa giya.........sir lecture no. 21,22 & 23 to ek number ka ha mazaa aa gaya sir g.....
East or West... SirG is best.
Ur fantastic sir❤️😍
Bhot badhiya content tha sir, Thanks a lot
sir g agar best programing teacher ka award mare haath me hota to ma o award aapko he deta........thankyou sir g
Fantastic , extraordinary,mind blowing sir❤️
sir please help me.why your program giving output "pakistani rupees"??? I do not understand.
#include
#define COUNTRY india
int main()
{
#if COUNTRY==pakistan
printf("Pakistani Rupees");
#elif COUNTRY==bangladesh
printf("Taka");
#elif COUNTRY==Nepal
printf("Nepali Rupees");
#else
printf("indian rupees");
#endif // COUNTRY
return 0;
}
Bro... Why you used preprocessor Directive inside the
main function
💀
May be this's why you got unwanted result
Thank you very much. You are a genius. 👍👍🔝🔝🙏🙏👌👌
Sir aap bhut aacha pdate h..thnxx sir hum sab ke liye itna kuch krne ke liye having free of cost😊
Thank you❤ so much 💯sir your teaching style is really very amazing😍👍👍👍🤩 some videos has little problems that l couldn't understand in first view but after watching three to 😂 four time now everything is Cristal clear again thank you ❤❤❤🙏🙏🙏so much sir👌👌😊😊 and lots of ❤ from my side... 🙏🙏
Excellent Lecture
Thank you sir 🙏
Thanku very much,your explanation technique is awesome ,anyone can easily understand..🙏
Hindi valo k liye bahut jyada useful h......Thanks sir
iam not hindi wali
iam from Afghanistan but i love sir g tutorials.
which things that i cant understand from other's i learned from sir g like function
Sir isme If,else,elif,endif wala program codeblocks me nhi chal rha hai
sir u r gud . the way u explain it directly go to brain. we r very thankful to u for uploading these video. tq sir
Thankyou sir ji 🙏
thank you very much sir for this video
sir what is the difference in these two macros #define country INDIA and #define country "INDIA"
first one is a undecleard Identifier and the second one is a string stored defined as country
You are doing great job(y)
This topic is very intersting for me 👍👍👍
sir your teaching is awesome
Thank you so much sir 🙏🙏
awsm explanation...
I feel like i consume a deep knowledge
5:13 first waala he printf chal rha hai country match ho ya na ho??
What an amazing explanation sir
7:58 no need of break statement here sir ?
Very osm videos... Sir
Sir Double Quotes Ko Kaise Print krayengey C me??
sir... if elif else endif vale program ka example Apne Jese bataya as it is Mene main function me likha Lekin "constant expression requireed" ye error AA rahi he...plz help me to solve this error
same problem sir...
Wow sirG !
Thanks sir..
very good video Sir.
sir please make video on computer organization and architecture subject
thanku
thanks ur a great sir
Very nice sirji
Sir run krne par pahli vali condition ki hi output de rha sirf pakistan rupeees prin ho rha jabki code pura yhii type kiya to
sir why is if, else ,else if more used than the #if and #elif infact if a condition if true then only that condition insde #if is going to the compiler but in normal 'if' all conditions go to the compiler and then get run
won't the #if will make program efficient ?
tq sr..
Thank you sir
Thank you so much Sir . Should we put COMPUTER with double quotes ??
Sir thank you
Sir please help me how to create static library (with header files) in c?
Best veido 😀thnqeww sir
sir its na error in turbo c++ ) expected
thank uh
plz sir ap flow chart or algorithm k bhi video upload kare...........plz sir sir reply
U doing btech
SIR APNE #DEFINE KE PROGRAM MEIN BTAYA THA KI AGAR CONDITION TRUE NHI HOGI TO WO PRINT NHI HOGA BUT I RUN THAT PROGRAM IT PRINTED PASKITANI RUPEES WHY???????
Same problem!
You solved it
Same me too
SAME PROBLEM...IF ANYONE KNOWS HOW TO DEAL WITH THIS.THEN PLEASE REPLY
sir,please aap VBA kaa complete tutorial video upload ki jiye,jiske help se mein ms-word,excel ka user defined menu banaa sakta hu
6:55 If the condition is false then, the statement following the condition won't be compiled as you said. but Can I say that the statement following the false condition will be removed?
No
Sir I did not understand structure that how will we geave condition that are not more 450 student in my collage
Pakisthan dekh kar dil baith gya🥲
Your method is 👌
sir me code block use kr rha hu , ar jab me#elif condition laga rha hu ar uske bad printf likh rha hu toh usse comments ke roop me le rha h...
same problem
you must be facing problem while you are dealing with string.right?
try writing set of characters within ' '
like :-
#define name 'ROHAN'
#if name == 'ROHAN'
void main()
{
printf("i am sorry tannvi you will marry tannu");
}
#else
void main()
{
printf("TANNU WEDS TANNVI");
}
#endif
Use 'INDIA'
MAKHAN KI TARAH CHALEGA FIR
Sir I was say you that you are require make the video related interpolation and extrapolation watssap through but you did not give me any reply
hello sir please give me reply as soon as possible
I saw your all video about c language but in this video u were explaining about #if #elif #else #endif .but which example u used for explaining I tried that on turbo and also on code block but I got error it was "constant expression required "I do not know how to solve this error
#define name 'ROHAN'
#if name == 'ROHAN'
void main()
{
printf(" tannvi you will marry tannu");
}
#else
void main()
{
printf("TANNU WEDS TANNVI");
}
#endif
sir what is the extension of file that is made just after preprocessor runs..
Thanku sir
even i have the same question id u get the answer ?
id* did
It may be anything like file.i
Brother the extension of pre process file is ".i" use linux u will understand it better.
Sir aapne toh isse pehle without# if else ka use kiya tha toh pre-prossesor. Unhe kaise padhta tha
THX SIR
Great sir thanks
# define thanks(nm) nm
Sir I hv a doubt, instead of macro we can also use variable, why not we use it? Plz explain it.
we can
no such file or directory compilation terminated...(sir hr baar yahi error ata hy)
#include
using namespace std;
void printing(void);
printing()
{
for(int i=0;i
#include
using namespace std;
void printing()
{
for(int i=0;i
sir what is macro?
Sir preprocessor jo file bnata h uska Kya name hota h
sum .i file
@@BajrangBaan thanks
please sir flowchart ka series video banaye please please sir
use of c
Sir is it also use in. C++??
yes, as c++ also provides the backward compatibility
sir bcnf ki video dale please
Thank you sir If I made any mistakes due write then forgive me
Thank you Sir from Pakistan!
Tq sir
Nice
why after compilation it is showing this error
expected constructor, destructor, or type conversion before '(' token
Sir is video ke bad c end ho gai ya or bhi kuch baki he..🙄🙄
Sir
Please explain this through a program
#define name 'ROHAN'
#if name == 'ROHAN'
void main()
{
printf(" tannvi you will marry tannu");
}
#else
void main()
{
printf("TANNU WEDS TANNVI");
}
#endif
Sir ye konsi language h agr C ni h ye
❤️❤️❤️
sir but kya matlab he compile ho to bi sahi mhi ho to bhi means sir agar #if nhi lagaya he to hoedona compile iska koi importance to nhi he
loop
Sir if you will not reply then I shall not subscribe your channel and will not send other other group
Pakistan compile hi nahi hoga😂😂🤣🤣🤟🤟
Mr Saurabh, you gave only definitions of them in hindi i would have done myself also , you didnt explained them well with proper examples.Worst.
Sir ne hindi medium audience target ki thi lekin comments ko dekh k lagta hai ye *wrong number hai*😅
thank u sir
great sir thanks
sir what is macro?
Raunak kumari macro is an identifier which is defined with the help of #define preprocessor command
❤️❤️
Thnku sir🙏