Comments in c language and Plateforms to run c codes
https://youtu.be/UaN-OaDCx8Q?si=kz5tfAwQKQJpi7Aw
https://youtu.be/UaN-OaDCx8Q?si=kz5tfAwQKQJpi7Aw
YouTube
Comments in c language || Plateforms for running c language || where I can run c code part 2
Comments in c language || Plateforms for running c language || where I can run c code part 2 by Siddharth Sharma
install vs code and mingw compiler:
https://youtu.be/ddxqPCVaAmY
Full Playlist:
C language for beginners: https://www.youtube.com/playlis…
install vs code and mingw compiler:
https://youtu.be/ddxqPCVaAmY
Full Playlist:
C language for beginners: https://www.youtube.com/playlis…
Variables and constants in C language for absolute beginners
https://youtu.be/GPat5ENZytg?si=h9vm8GpHHfONEu24
https://youtu.be/GPat5ENZytg?si=h9vm8GpHHfONEu24
YouTube
Variables and constants in c language || C programming by Siddharth Sharma #part6
Variables and constants in c language || C programming by Siddharth Sharma #part6
install vs code and mingw compiler:
https://youtu.be/ddxqPCVaAmY
Full Playlist:
C language for beginners: https://www.youtube.com/playlist?list=PLjEYzWkdEvxv5Byb-QnlQrjsuDuhpXX1G…
install vs code and mingw compiler:
https://youtu.be/ddxqPCVaAmY
Full Playlist:
C language for beginners: https://www.youtube.com/playlist?list=PLjEYzWkdEvxv5Byb-QnlQrjsuDuhpXX1G…
How to run c code manually without and with vs code in any os
https://youtu.be/22kOt_PLpGs?si=kO2_xiFxFOREsmXo
https://youtu.be/22kOt_PLpGs?si=kO2_xiFxFOREsmXo
YouTube
how to run manually c code by command | without vs code run c codes || c language tutorial #part7
how to run manually c code by command | without vs code run c codes || c language tutorial #part7
install vs code and mingw compiler:
https://youtu.be/ddxqPCVaAmY
Full Playlist:
C language for beginners: https://www.youtube.com/playlist?list=PLjEYzWkdEvxv5Byb…
install vs code and mingw compiler:
https://youtu.be/ddxqPCVaAmY
Full Playlist:
C language for beginners: https://www.youtube.com/playlist?list=PLjEYzWkdEvxv5Byb…
Expressions and operators in c detailed
Topics covered:
00: 00 introduction to c operaters
02: 00 All c language operators in detail practically explained
02: 03 Airthmetic operators in c
03: 33 Relational operators in c
05: 07 Logical operators in c
06: 50 Assignment operators or shortcuts in c
09: 00 increment decrement operators in c
09: 41 sizeof and ternary operator in c
10: 59 comma operator in c
11: 44 bitwise operator, address of, pointer dereference, member access operators
12: 23 expressions in c language
https://youtu.be/qerhr7-a9TM?si=4v1uf0S6Nxep_pHA
Topics covered:
00: 00 introduction to c operaters
02: 00 All c language operators in detail practically explained
02: 03 Airthmetic operators in c
03: 33 Relational operators in c
05: 07 Logical operators in c
06: 50 Assignment operators or shortcuts in c
09: 00 increment decrement operators in c
09: 41 sizeof and ternary operator in c
10: 59 comma operator in c
11: 44 bitwise operator, address of, pointer dereference, member access operators
12: 23 expressions in c language
https://youtu.be/qerhr7-a9TM?si=4v1uf0S6Nxep_pHA
YouTube
Operators and expressions in c || C operators by Siddharth Sharma #part8
Operaters and expressions in c language || c Operaters by Siddharth Sharma #part8
install vs code and mingw compiler:
https://youtu.be/ddxqPCVaAmY
Full Playlist:
C language for beginners: https://www.youtube.com/playlist?list=PLjEYzWkdEvxv5Byb-QnlQrjsuDuhpXX1G…
install vs code and mingw compiler:
https://youtu.be/ddxqPCVaAmY
Full Playlist:
C language for beginners: https://www.youtube.com/playlist?list=PLjEYzWkdEvxv5Byb-QnlQrjsuDuhpXX1G…
👍2
( MCS-011 ) C language me backshlash character kya hote hain #Part11
https://youtu.be/PjET6HrGyok
Full Playlist: Click Here
https://youtu.be/PjET6HrGyok
Full Playlist: Click Here
YouTube
c language me backshlash character kya hote hain || escape sequence in c by sid #part11
c language me backshlash character kya hote hain || text ko c me Newline me kaise print kare #part11
Full Playlist:
C language for beginners: https://www.youtube.com/playlist?list=PLjEYzWkdEvxv5Byb-QnlQrjsuDuhpXX1G
keys:
escape sequence in c,execution character…
Full Playlist:
C language for beginners: https://www.youtube.com/playlist?list=PLjEYzWkdEvxv5Byb-QnlQrjsuDuhpXX1G
keys:
escape sequence in c,execution character…
👍1
#include <stdio.h>
int main() {
int num1, num2, sum;
printf("Enter first number: ");
scanf("%d", &num1);
printf("Enter second number: ");
scanf("%d", &num2);
sum = num1 + num2;
printf("Sum of %d and %d is %d\n", num1, num2, sum);
return 0;
}
/* * * * * * * * * * * * * * * * * * * *
How to take user input:
https://youtu.be/VbaKf9FwnDk
Video have a task
* * * * * * * * * * * * * * * * * * * */
int main() {
int num1, num2, sum;
printf("Enter first number: ");
scanf("%d", &num1);
printf("Enter second number: ");
scanf("%d", &num2);
sum = num1 + num2;
printf("Sum of %d and %d is %d\n", num1, num2, sum);
return 0;
}
/* * * * * * * * * * * * * * * * * * * *
How to take user input:
https://youtu.be/VbaKf9FwnDk
Video have a task
* * * * * * * * * * * * * * * * * * * */
👍3
// 1 to 100 numbers
#include <stdio.h>
int main() {
for (int i = 1; i <= 10; i++) {
for (int j = 0; j < 10; j++)
if(i < 10)
printf("%d%d ", j, i);
else
printf("%d ", (j + 1) * 10);
printf("\n");
}
return 0;
}
#include <stdio.h>
int main() {
for (int i = 1; i <= 10; i++) {
for (int j = 0; j < 10; j++)
if(i < 10)
printf("%d%d ", j, i);
else
printf("%d ", (j + 1) * 10);
printf("\n");
}
return 0;
}
👍2
// 1. For loop to print numbers from 1 to 10:
#include <stdio.h>
int main() {
int i;
for(i=1; i<=10; i++) {
printf("%d ", i);
}
return 0;
}
#include <stdio.h>
int main() {
int i;
for(i=1; i<=10; i++) {
printf("%d ", i);
}
return 0;
}
👍1
// 2. While loop to print even numbers from 2 to 20:
#include <stdio.h>
int main() {
int i = 2;
while(i <= 20) {
printf("%d ", i);
i += 2;
}
return 0;
}
#include <stdio.h>
int main() {
int i = 2;
while(i <= 20) {
printf("%d ", i);
i += 2;
}
return 0;
}
👍1
// 4. Nested for loop to print a multiplication table:
#include <stdio.h>
int main() {
int i, j;
for(i=1; i<=10; i++) {
for(j=1; j<=10; j++) {
printf("%d x %d = %d\n", i, j, i*j);
}
printf("\n");
}
return 0;
}
#include <stdio.h>
int main() {
int i, j;
for(i=1; i<=10; i++) {
for(j=1; j<=10; j++) {
printf("%d x %d = %d\n", i, j, i*j);
}
printf("\n");
}
return 0;
}
👍2
// 5. Break statement in a while loop to exit the loop when a certain condition is met:
#include <stdio.h>
int main() {
int i = 1, num;
printf("Enter number less than 1000 : ");
scanf("%d", &num);
while(i <= 1000) {
printf("%d ", i);
if(i == num) {
break;
}
i++;
}
return 0;
}
#include <stdio.h>
int main() {
int i = 1, num;
printf("Enter number less than 1000 : ");
scanf("%d", &num);
while(i <= 1000) {
printf("%d ", i);
if(i == num) {
break;
}
i++;
}
return 0;
}
👍1
Notes 📝 :
Telegram.me/BCA_Sem1_Notes
Telegram.me/BCA_Sem2_Notes
Telegram.me/BCA_Sem3_Notes
Telegram.me/BCA_Sem4_Notes
Telegram.me/BCA_Sem5_Notes
Telegram.me/BCA_Sem6_Notes
Code practice Channels:
Telegram.me/C_Codes_pro
Telegram.me/CPP_Codes_pro
Telegram.me/Python_Codes_pro
Telegram.me/Java_Codes_Pro
Telegram.me/Nodejs_Codes_Pro
Info channel:
Telegram.me/Btech_bca_mca
Discussion groups:
Telegram.me/bca_mca_btech
Telegram.me/bca_group_ignou
Learn coding:
Youtube.com/IgnouStudyCenter
Telegram.me/BCA_Sem1_Notes
Telegram.me/BCA_Sem2_Notes
Telegram.me/BCA_Sem3_Notes
Telegram.me/BCA_Sem4_Notes
Telegram.me/BCA_Sem5_Notes
Telegram.me/BCA_Sem6_Notes
Code practice Channels:
Telegram.me/C_Codes_pro
Telegram.me/CPP_Codes_pro
Telegram.me/Python_Codes_pro
Telegram.me/Java_Codes_Pro
Telegram.me/Nodejs_Codes_Pro
Info channel:
Telegram.me/Btech_bca_mca
Discussion groups:
Telegram.me/bca_mca_btech
Telegram.me/bca_group_ignou
Learn coding:
Youtube.com/IgnouStudyCenter
C language basic to Advance pinned «Notes 📝 : Telegram.me/BCA_Sem1_Notes Telegram.me/BCA_Sem2_Notes Telegram.me/BCA_Sem3_Notes Telegram.me/BCA_Sem4_Notes Telegram.me/BCA_Sem5_Notes Telegram.me/BCA_Sem6_Notes Code practice Channels: Telegram.me/C_Codes_pro Telegram.me/CPP_Codes_pro Telegram…»
// Check Number
#include <stdio.h>
int main() {
int num;
printf("Enter Number: ");
scanf("%d", &num);
if(num>0){
printf("This Number is positive");
}
else if(num<0){
printf("This Number is negetive");
}
else if(num == 0){
printf("This Number is zero");
}
return 0;
}
#include <stdio.h>
int main() {
int num;
printf("Enter Number: ");
scanf("%d", &num);
if(num>0){
printf("This Number is positive");
}
else if(num<0){
printf("This Number is negetive");
}
else if(num == 0){
printf("This Number is zero");
}
return 0;
}
👍1
//To check leap year
#include<stdio.h>
int main() {
int year;
printf("Enter a year that you want to check:");
scanf("%d",&year);
if((year%4==0 &&year%100!=0) ||( year%400==0))
printf("%d is a leap year",year);
else
printf("%d is not a leap year",year);
return 0;
}
#include<stdio.h>
int main() {
int year;
printf("Enter a year that you want to check:");
scanf("%d",&year);
if((year%4==0 &&year%100!=0) ||( year%400==0))
printf("%d is a leap year",year);
else
printf("%d is not a leap year",year);
return 0;
}
इस बाॅट में कोड रन करना सीखें।
Learn how to run code in this bot.
लाभ (Advantage):
आप किसी को भी रियल टाइम में कोड का आउटपुट दिखा सकते हो, जिससे अगर आपके कोड में कोई गलती है तो वह भी सरलता से एक दूसरे से डिस्कस करके साॅल्व कर सकते हो।
See features written in pic ☝️☝️
You can show the output of the code to anyone in real time, so that if there is any mistake in your code, they can easily solve it by discussing with each other.
Full tutorial: https://t.me/logicBots/147
👍1
// Recursion in C involves a function calling itself directly or indirectly. Here's an example of a recursive function in C:
#include <stdio.h>
void countdown(int n) {
if (n > 0) {
printf("%d ", n); // Print the current number
countdown(n - 1); // Call the function itself with a smaller number
}
}
int main() {
int num = 5;
countdown(num);
return 0;
}