C PROGRAMMING
Open in Telegram
No data
Subscribers
-824 hours
-347 days
+8830 days
Posts Archive
👨💻What will be the output of the code 👨💻
#include<stdio.h>
int main()
{
int i = 0;
while(i++<=10);
{
printf("Quiz Dost");
i++;
}
printf("%d",i);
return 0;
}
👨💻What will be the output of the code :-
#include<stdio.h>
int main()
{
char x = 'a';
switch(x)
{
case 'a':
printf("Hello");
break;
case 97:
printf("Hii");
}
return 0;
}
‼️Last Question of 2022‼️
( 31 - 12 - 2022)
What will be the output of above code?
What will be the output of the code - ( Suppose integer take 2 bytes)
#include<stdio.h>
int main()
{
int *p = 2000;
int *p1 = 2;
printf("%u : ",p-p1);
printf("%u",p-2);
return 0;
}
#Pointers
#C_Programming
❤️❤️
How many times Quiz Dost will be printed in above code? ( 29 -12 -2022 )
How many times Quiz Dost will be printed in this code?
#include<stdio.h>
int main() {
int x;
for(x=-1; x<=10; x++)
{ if(x < 5)
continue;
else
break;
printf("Quiz Dost");
}
return 0;
}
#C_Programming‼️Question of the Day‼️
( 28 -12 -2022 )
Value assigned to x in - x = 1 || 0 && 5 || 6 || 7 && !3;
‼️Question of the Day ‼️
( 27 -12 -2022)
You want to immediately move to the next iteration of the loop . What will you use -
⬅️➡️⬅️➡️⬅️➡️⬅️➡️⬅️➡️
Sabhi log folder ko join karlo bahut helpful hai aur 2-4 logo ko share bhi kardo yrrr 😂 - 😂
https://t.me/addlist/2BSJDgbcw9gxMzg1
⬅️➡️⬅️➡️⬅️➡️⬅️➡️⬅️➡️
‼️Question of the Day‼️
What will be the output of the code -
int x = 3;
if(x>3)
printf("Hello");
printf("Hii");
else
printf(" Hey! Bro");
#Programming
🔥👍
‼️ Question of the Day‼️
Write a program to print the following pattern( take input from user for number of lines)
*
* * *
* * * *
* * * *
There is a space after every star .
#Programming
⬅️➡️⬅️➡️⬅️➡️⬅️➡️⬅️➡️
Join our C programming discussion group and share with friends to solve c programming query join now
https://t.me/C_Programmings_Discussion
Join for more - https://t.me/addlist/2BSJDgbcw9gxMzg1
➡️➡️➡️➡️➡️➡️➡️➡️
Output of the code:-
👉
#include<stdio.h>
int main()
{
int marks[3] = {23,35,96};
int *ptr = marks;
*ptr = 222;
ptr++;
ptr++;
printf("%d",marks[2]);
return 0;
}
🖥🖥🖥🖥🖥🖥🖥🖥🖥🖥
Output of the code -
👉
#include<stdio.h>
int main()
{
int marks[3] = {23,35,96};
int *ptr = marks;
ptr++;
ptr++;
*ptr = 95;
printf("%d",marks[2]);
return 0;
}
➡️➡️➡️➡️➡️➡️➡️➡️➡️➡️
What will be the output of the code :-
👉
#include<stdio.h>
void swap(int *, int *);
int main(){
int a =5;
int b = 4;
swap(&a,&b);
printf("The value of a and b is %d and %d",a,b);
return 0;
}
void swap(int *aptr,int *bptr){
int temp;
temp = *aptr;
*aptr = *bptr;
*bptr = temp;
}
➡️➡️➡️➡️➡️➡️➡️➡️➡️➡️
