In C language, why do variable names beginning with the underscore is not encouraged?
Anonymous Quiz
18%
It is not standardized
41%
To avoid conflicts since assemblers and loaders use such names
24%
To avoid conflicts since library routines use such names
18%
To avoid conflicts with environment variables of an operating system
πβ¨ Explore Your Future with Our Amazing Courses! β¨π
π Java & Java with DSA Courses
π Python & Python with DSA
π Web Development
π Database & SQL
π€ Data Science & Machine Learning
π οΈ DevOps & Azure
π Your journey to success starts here! π
For free course - https://t.me/addlist/vnAFuK9rY6FjNjM1
π Java & Java with DSA Courses
π CORE JAVA: NareshIT | Kishan Sir
π₯ ADVANCED JAVA: Venkatesh Mansani
π₯οΈ SPRING BOOT: NareshIT | Kishan Sir
βοΈ JAVA DSA: DurgaSoft
β Sigma 5.0 Batch: Apna College
π CORE JAVA: Hari Krishna Sir | Naresh IT
π» JAVA FULL STACK COURSE
π Python & Python with DSA
π Adul Bari Pythonπ΅ C++ & C++ with DSA
π₯οΈ PYTHON FULL STACK: KV Rao 2024
βοΈ PYTHON DSA: DurgaSoft
π KRISH NAIK Python Course
π ineuron python course
π‘ ALPHA DSA C++
π PW C++ DSA
π₯ Love Babbar Supreme Batch
π DSA Abdul Bari
β NARESH IT DSA
π± Durgasoft DSA
π€‘ Ashok IT
π Web Development
π¨ PW Skills Web Developmentο»Ώ
β Delta 5.0 Batch: Apna College
π» DOT Batch: Love Babbar
π Namaste React
π Namaste JavaScript
βοΈ Namaste NodeJs
π Cohort 3.0: Web + DevOps
π§ Full Stack Web Development: Naresh IT & DurgaSoft
π Sanket Singh Full Stack Web Development
π NodeJS: Sanket Singh
π MERN Stack: Anuj Bhaiya
π₯οΈ PHP: Ram Sir
π¨ Frontend Development: IIT Madras
π Almabetter Full Stack Web Development Course
β‘ ASHOK IT Node JS
β UI Full Stack: Sudhakar Sharma | Naresh IT
π₯ Sherians Frontend Course
π Database & SQL
π MongoDB: Durga Sir
β Namaste SQL: Akshay Saini
π₯οΈ SQL: DurgaSoft & Naresh IT
π§ ORACLE
π Power BI Course
π€ Data Science & Machine Learning
π PW Skills Data Science Course
π iNeuron Complete Data Science
π Data Science Master 2.0
π Data Science: IIT Madras
βοΈ MLOps Course: Naresh IT
π οΈ DevOps & Azure
β‘ Full DevOps Course: Tech Nanaπ» Special Courses
β Hey DevOps 5.0
π§ Ashok IT DevOps
π MS Azure DevOps Course
π Azure Data Engineering: Gareth | Naresh IT
βοΈ Azure Cloud Mastery
π DevOps with AWS
β¨ Ineuron All Course
βοΈ Google Cloud Platform: Mr. Saidul
π§ Git for DevOps: DurgaSoft
π ASP.NET: Bangar Raju | Naresh ITπ« Plus, we have:
π GATE CSE Prep: PW 1500
π± App Development: Harnoor Singh
π± Android Using Kotlin: DurgaSoft
βοΈ Selenium: Naresh IT
π€ Applied AI Full Course
π» C#: Bangar Raju
π Unix/Linux: Imran 2024 | Naresh IT
βοΈ Salesforce: Adnan | Naresh IT
π‘οΈ Cyber Security: iNeuron
π Digital Marketing: Ramakanth | Naresh IT
- Colt Steele Full Stack Web Development
- StationX Full Stack Python Development
- Arpit Bhayani System Design
- Government Exam All Courses Available
- 1500 TB Mega Link Course Available
- 13 TB Google Drive Course Link
- Code with Mosh All Courses
- Andrew Tate All Courses
- Zero to Mastery All Courses
π€ 100+ More Demanding Courses to Explore!β¨ For more information and discounts π, DM us @Myhurthearts!
π€‘ Order any course and get completed course in 24 hours
π Price Starting at βΉ49!
π Cheapest and best course in history
π 113+ member purchased course and 396 people in DM
π Your journey to success starts here! π
For free course - https://t.me/addlist/vnAFuK9rY6FjNjM1
π3π1π1
https://youtu.be/7JYmpZkL3sQ?si=U-RASR6alvbB7_qa
Jo bhi visual studio me c/c++ ka program nhi kar pate hai unke k liye best video hai
Jo bhi visual studio me c/c++ ka program nhi kar pate hai unke k liye best video hai
YouTube
| Best C/C++ compiler | C/C++ compiler without extension | #coding #compiler #codebomb
Unlock the full potential of your coding journey with the best C/C++ compilers! π In this video, we explore top C/C++ compilers that don't require extensions, giving you a streamlined coding experience. Perfect for beginners and experienced developers alikeβ¦
π3β€2
Forwarded from πα΄α΄
α΄Ι΄ πα΄ΚΙͺΙ΄α΄
α΄
#include <stdio.h>
int main() {
int x = 10;
int *ptr = &x;
*ptr = 20;
printf("%d\n", x);
return 0;
}
Output of above code?
Anonymous Quiz
26%
A) 10
13%
B) Undefined Behavior
52%
C) 20
8%
D) Compilation Error
π2
Program to swap values of two variables.
#include <iostream>
int main() {
int a=1;
int b=2;
int temp;
std::cout << "Before Swapping:\n";
std::cout << "a=" << a <<",b=" << b <<"\n";
temp = a;
a=b;
b=temp;
std::cout << "After Swapping:\n";
std::cout << "a=" << a <<",b=" << b <<"\n";
return 0;
}
π5β€1
C & C++ PROGRAMMING
https://youtu.be/TBQrLkcK1KQ?si=9fGmOTMDKDx8w8Ht
π100% Ai ka use krk Music Rap Video bnaya π
Plz watch guys and give some response about video π
Plz watch guys and give some response about video π
Program to swap values of two variables.
#include <iostream>
int main() {
int a=1;
int b=2;
int temp;
std::cout << "Before Swapping:\n";
std::cout << "a=" << a <<",b=" << b <<"\n";
temp = a;
a=b;
b=temp;
std::cout << "After Swapping:\n";
std::cout << "a=" << a <<",b=" << b <<"\n";
return 0;
}
Program to convert temperature from Fahrenheit to Celsius.
#include <iostream>
using namespace std;
int main() {
double fahrenheitTemperature;
double temperatureInCelsius;
cout << "Enter your temperature in Fahrenheit:";
cin >> fahrenheitTemperature;
temperatureInCelsius = ((fahrenheitTemperature - 32) * 5) / 9;
cout << "Temperature in celsius : " << temperatureInCelsius;
return 0;
}
Program : To calculate factorial of a given number
cpp
#include <iostream>
using namespace std;
int main() {
int num,res=1;
cout << "Enter a positive number:" << endl;
cin >> num;
if(num < 0){
cout << "You entered a negative number" << endl;
}
else if(num == 0){
cout << "0! = " << "1";
}
else{
for(int i = 1;i <= num;i++){
res = res * i;
}
cout << "Factorial of " << num << " is "<<res;
}
return 0;
}
Program: Given an array with numbers 11,12,13,14,15 calculate the sum of elements in array using range based for loop.
cpp
#include <iostream>
using namespace std;
int main(){
int numbers[] = {11,12,13,14,15};
int sum = 0;
for(int number : numbers){
sum = sum + number;
}
cout << "Sum = "<< sum;
return 0;
}
Program : Design a number guessing game using while loop.
Take range of numbers from 1 - 10
hard code any number between 1 and 10
Ask user to guess the number after guessing display number of attempts made to guess the number.
Take range of numbers from 1 - 10
hard code any number between 1 and 10
Ask user to guess the number after guessing display number of attempts made to guess the number.
cpp
#include <iostream>
using namespace std;
int main()
{
int numberToGuess = 4;
int attempts = 0;
int guess = 0;
while (guess != numberToGuess)
{
cout << "Guess the number between 1 and 10:" << endl;
cin >> guess;
attempts++;
if(guess == numberToGuess){
cout << "You guessed it right in " << attempts << " attempts" << endl;
}
}
cout << "Game ended";
return 0;
}
Program : Design a number guessing game using while loop.
Take range of numbers from 1 - 10
hard code any number between 1 and 10
Ask user to guess the number after guessing display number of attempts made to guess the number.
Take range of numbers from 1 - 10
hard code any number between 1 and 10
Ask user to guess the number after guessing display number of attempts made to guess the number.
cpp
#include <iostream>
using namespace std;
int main()
{
int numberToGuess = 4;
int attempts = 0;
int guess = 0;
while (guess != numberToGuess)
{
cout << "Guess the number between 1 and 10:" << endl;
cin >> guess;
attempts++;
if(guess == numberToGuess){
cout << "You guessed it right in " << attempts << " attempts" << endl;
}
}
cout << "Game ended";
return 0;
}
β€4π1
π Unlock Your Career in C++ & DSA! π
Are you ready to dive into the world of programming? π»β¨ We have the *ultimate* collection of C++ and DSA courses that can set you on the path to success! π
π΅ C++ & C++ with DSA Masterclass
π‘ ALPHA DSA C++ - Stand Out in the Crowd!
π PW C++ DSA - Propel Your Skills!
π₯ Love Babbar Supreme Batch - Learn from the Best!
π DSA by Abdul Bari - Expert Guidance!
β NARESH IT DSA - Proven Techniques!
π± Durgasoft DSA - Grab Your Opportunity!
π€‘ Ashok IT - Fun and Engaging Learning!
β¨ Exclusive Offer: Get Access for Only βΉ100! β¨
Originally valued at βΉ10,000, this is your chance to grab it at an unbelievable 1% of the price! π°
Donβt miss out on this incredible opportunity to enhance your skills and boost your career! π
π¬ Message us now at:
@Myhurthearts
@imabhi3030
π Invest in your future today! π
Are you ready to dive into the world of programming? π»β¨ We have the *ultimate* collection of C++ and DSA courses that can set you on the path to success! π
π΅ C++ & C++ with DSA Masterclass
π‘ ALPHA DSA C++ - Stand Out in the Crowd!
π PW C++ DSA - Propel Your Skills!
π₯ Love Babbar Supreme Batch - Learn from the Best!
π DSA by Abdul Bari - Expert Guidance!
β NARESH IT DSA - Proven Techniques!
π± Durgasoft DSA - Grab Your Opportunity!
π€‘ Ashok IT - Fun and Engaging Learning!
β¨ Exclusive Offer: Get Access for Only βΉ100! β¨
Originally valued at βΉ10,000, this is your chance to grab it at an unbelievable 1% of the price! π°
Donβt miss out on this incredible opportunity to enhance your skills and boost your career! π
π¬ Message us now at:
@Myhurthearts
@imabhi3030
π Invest in your future today! π
π2
Program : Sum on n natural numbers using do while loop.
#include <iostream>
using namespace std;
int main() {
int n,sum=0,i=1;
cout << "Enter the value of n:";
cin >> n;
do{
sum = sum + i;
i++;
}while(i <= n);
cout << "Sum of "<< n << " natural numbers :" << sum;
}
π3
Program : Write a function to find maximum of two numbers.
#include <iostream>
using namespace std;
int findMax(int n1 , int n2){
if(n1 > n2){
return n1;
}
return n2;
}
int main() {
int num1,num2;
cout << "Enter any two different numbers:"<<endl;
cin >> num1 >> num2;
int max = findMax(num1,num2);
cout << "Maximum of "<< num1 << " and " << num2 << " is " << max;
return 0;
}
π3
Program : Write a function to find maximum of two numbers.
#include <iostream>
using namespace std;
int findMax(int n1 , int n2){
if(n1 > n2){
return n1;
}
return n2;
}
int main() {
int num1,num2;
cout << "Enter any two different numbers:"<<endl;
cin >> num1 >> num2;
int max = findMax(num1,num2);
cout << "Maximum of "<< num1 << " and " << num2 << " is " << max;
return 0;
}
π3
π Unlock Your Career in C++ & DSA! π
Are you ready to dive into the world of programming? π»β¨ We have the *ultimate* collection of C++ and DSA courses that can set you on the path to success! π
π΅ C++ & C++ with DSA Masterclass
π‘ ALPHA DSA C++ - Stand Out in the Crowd!
π PW C++ DSA - Propel Your Skills!
π₯ Love Babbar Supreme Batch - Learn from the Best!
π DSA by Abdul Bari - Expert Guidance!
β NARESH IT DSA - Proven Techniques!
π± Durgasoft DSA - Grab Your Opportunity!
π€‘ Ashok IT - Fun and Engaging Learning!
Donβt miss out on this incredible opportunity to enhance your skills and boost your career! π
π¬ Message us now at:
@Myhurthearts
@imabhi3030
π Invest in your future today! π
Are you ready to dive into the world of programming? π»β¨ We have the *ultimate* collection of C++ and DSA courses that can set you on the path to success! π
π΅ C++ & C++ with DSA Masterclass
π‘ ALPHA DSA C++ - Stand Out in the Crowd!
π PW C++ DSA - Propel Your Skills!
π₯ Love Babbar Supreme Batch - Learn from the Best!
π DSA by Abdul Bari - Expert Guidance!
β NARESH IT DSA - Proven Techniques!
π± Durgasoft DSA - Grab Your Opportunity!
π€‘ Ashok IT - Fun and Engaging Learning!
Donβt miss out on this incredible opportunity to enhance your skills and boost your career! π
π¬ Message us now at:
@Myhurthearts
@imabhi3030
π Invest in your future today! π