ar
Feedback
C PROGRAMMING

C PROGRAMMING

الذهاب إلى القناة على Telegram

🚩 Channel was restricted by Telegram

إظهار المزيد
لا توجد بيانات
المشتركون
-824 ساعات
-347 أيام
+8830 أيام
أرشيف المشاركات
Jise bhi quiz me participate krna hai o log @CODING_WARRIOR join kare jaldi Quiz started at 9:00 PM

🎉 Quiz Alert! 🚀 🗓️ Date: Today 🕘 Time: 9:00 PM 📍 Location: @CODING_WARRIOR 📚 Subject: C, PYTHON , JAVA ,C++,JS
Get ready to test your skills! 💥 Don't miss out on this exciting challenge! 💪✨
Reward 🏆 - 20+ programming language course drive link 🔗 which one you want 😁
Reward 🎉 - Rank 1 😁 SIGMA 5.0 Rank 2-10 Drive Course
Join for more ✅ https://t.me/addlist/vnAFuK9rY6FjNjM1

Guy's are you ready for Programming Quiz competition with Course Rewards
Anonymous voting

Output of above code?
Anonymous voting

#include <stdio.h>

int main() {
    int x = 10;
    int *ptr = &x;
    *ptr = 20;
    printf("%d\n", x);
    return 0;
}

What will be the output of above code?
Anonymous voting


#include <stdio.h>
int main() {
    int x = 5;
    printf("%d", x++);
    return 0;
}

🌟 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! 🌈

🌟 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! 🌈

Important and best notes 😁❤️ Do not forget to React ❤️ to this Message for More Content Like this Share with your friends 👉 https://t.me/addlist/vnAFuK9rY6FjNjM1

game projects -c- game in c language .pdf1.06 MB

Learn Cpp Programming Language.pdf1.43 MB

C language interview series .pdf1.54 MB

Notes on C programming language by ISC BCA group admin Nadan parinde

Data structure & algorithm cheat sheet 😁
+5
Data structure & algorithm cheat sheet 😁

🌟 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! 🌈

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.
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: 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;
}