uz
Feedback
C PROGRAMMING

C PROGRAMMING

Kanalga Telegram’da oβ€˜tish

🚩 Channel was restricted by Telegram

Ko'proq ko'rsatish
Ma'lumot yo'q
Obunachilar
-824 soatlar
-347 kunlar
+8830 kunlar
Postlar arxiv
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;
}