C and Cpp Programming

C and Cpp Programming

Share

This is the place for beginners who want to learn C/C++

05/29/2023

😍Don’t miss this whatsapp community. If you are seriously want to build your career in Ethical Hacking🚨.

Checkout the link given in my bio🔗.
Link in my bio 🔗

03/27/2023

😇Comment down the output👇🏼⁣⁣⁣

Follow Coding | JAVA | C/C++ | 125k🎯]]⁣
👉Coding | JAVA | C/C++ | 125k🎯]]👈⁣⁣
👉Coding | JAVA | C/C++ | 125k🎯]]👈⁣ for more⁣

✨✨✨✨✨✨✨✨✨✨✨⁣

👩‍❤️‍👩 Share it with your friends⁣⁣

Answer:- 1

📌 The result will be 1 after a long time because the while loop will keep executing until integer 'i' reaches its maximum value (depends on compiler).

📌 Then, when the next 'i++' operation is performed it will become 0. And we will come out of the loop and the value of 'i' will be 1 in the next line.

📌 Hence 'i' becomes 1 and we got 1 as the output.

⚪Join our public télegram group
👉🏻 ⁣⁣⁣DM me for link or search codeguyscode on télegram👈🏻⁣

📢 Turn on notification⁣⁣
⁣⁣









Photos from C and Cpp Programming's post 03/26/2023

😄Share it with your Beginner friends

Follow ⁣
👉👈⁣⁣
👉👈⁣ for more⁣
⁣⁣
⚪Join our public télegram group
👉🏻 LINK IN BIO


       
   

       
   
 
     
 
   

03/20/2023

😇Challenge your friends by sharing this post Comment down the output👇🏼⁣⁣⁣

Follow Coding | JAVA | C/C++ | 125k🎯]]⁣
👉Coding | JAVA | C/C++ | 125k🎯]]👈⁣⁣
👉Coding | JAVA | C/C++ | 125k🎯]]👈⁣ for more⁣

✨✨✨✨✨✨✨✨✨✨✨⁣

👩‍❤️‍👩 Share it with your friends⁣⁣

Answer:- C

📌Scope resolution (::) operator is used to access the variable which is outside the scope.

📌 ::a-!a++ is evaluated as 10 - 0
(!a++ is evaluated as 0, since there ! operator)

📌 Hence we got 10 as the output.

⚪Join our public télegram group
👉🏻 ⁣⁣⁣DM me for link or search codeguyscode on télegram👈🏻⁣

📢 Turn on notification⁣⁣
⁣⁣









Photos from C and Cpp Programming's post 03/18/2023

😄Share it with your friends

Follow ⁣
👉👈⁣⁣
👉👈⁣ for more⁣
⁣⁣
⚪Join our public télegram group
👉🏻 LINK IN BIO

                                   

03/05/2023

Get access to our Free Whatsapp community Group 🥳🥳🥳

Link in Bio ✅

Must Join Fast 🔥🔥🔥

03/03/2023

🔥30 days web development bootcamp

▫️Starting from 10th March 2023
▫️Daily Live classes / Recorded lectures
▫️Timing - 9pm to 11pm
▫️ HTML/CSS/JAVASCRIPT/PHP/NODEJS/DATABASE/SQL/PROJECTS
▫️ FEES - 800Rs/-

✨Limited Seats
🔥Hurry up

                           

02/28/2023

Comment down the output of the following code without seeing explanation 👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼

Follow Coding | JAVA | C/C++ | 125k🎯]]
👉Coding | JAVA | C/C++ | 125k🎯]]👈⁣
👉Coding | JAVA | C/C++ | 125k🎯]]👈⁣ for more

Answer: compilation error

📌  In Java if() block expects a boolean value and we are providing an integer value.

📌 Hence we get "Compilation error" as the output.

➖➖➖➖➖➖➖➖➖➖➖

New post come daily.
Stay tuned⁣
📢 Turn on notification⁣
➖➖➖➖➖➖➖➖➖➖➖








                                                 

02/24/2023

Comment down the output of the following code without seeing explanation 👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼

Follow Coding | JAVA | C/C++ | 125k🎯]]
👉Coding | JAVA | C/C++ | 125k🎯]]👈⁣
👉Coding | JAVA | C/C++ | 125k🎯]]👈⁣ for more

Answer: 10 40

📌  ptr = &a; (pointer ptr starts to point 'a')
ptr = &b; (now pointer ptr starts to point 'b')

📌 *ptr = *ptr+*ptr;
This statement is equal to 

b = 20 + 20 (since ptr points to b therefore *ptr = b)

📌 Hence we get "10 40" as the output.

➖➖➖➖➖➖➖➖➖➖➖

New post come daily.
Stay tuned⁣
📢 Turn on notification⁣
➖➖➖➖➖➖➖➖➖➖➖








                                                 

02/23/2023

👇🏻Comment down Hello World in your favourite programming language.

Follow Coding | JAVA | C/C++ | 125k🎯]]⁣
👉Coding | JAVA | C/C++ | 125k🎯]]👈⁣⁣
👉Coding | JAVA | C/C++ | 125k🎯]]👈⁣ for more⁣
⁣⁣
⚪Join our public télegram group
👉🏻 LINK IN BIO

02/10/2023

Comment down the output of the following code without seeing explanation 👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼👇🏼

Follow Coding | JAVA | C/C++ | 125k🎯]]
👉Coding | JAVA | C/C++ | 125k🎯]]👈⁣
👉Coding | JAVA | C/C++ | 125k🎯]]👈⁣ for more

Answer: Bye

📌 == operator checks if two variable refer to the same object.

📌 Here a and b refers to two different objects. ?: is another form of if else statement that could be read as, condition : if true then do this : else do this.

📌 Hence we get "Bye" as the output.

➖➖➖➖➖➖➖➖➖➖➖

New post come daily.
Stay tuned⁣
📢 Turn on notification⁣
➖➖➖➖➖➖➖➖➖➖➖








Want your school to be the top-listed School/college in Venice?

Click here to claim your Sponsored Listing.

Location

Website

Address


Venice, CA
90291