Posts by Dangerous Programming
#Solution
void main()
{
struct student
{
char name[30],
#Solution void main() { struct student { char name[30], rollno[6]; }stud; FILE *fp = fopen(“somefile.dat”,”r”); while(!feof(fp)) { fread(&stu...
#Solution void main() { struct student { char name[30], rollno[6]; }stud; FILE *fp = fopen(“somefile.dat”,”r”); while(!feof(fp)) { fread(&stu...
#Solution
void main()
{
static int
#Solution void main() { static int i=5; if(--i){ main(); printf("%d ",i); } } Answer: 0 0 0 0 Explanation: The variable "I" is declared as static, he...
#Solution void main() { static int i=5; if(--i){ main(); printf("%d ",i); } } Answer: 0 0 0 0 Explanation: The variable "I" is declared as static, he...
#Solution
void main()
{
int i=10, j=2;
int *ip= &i, *jp = &j;
int
#Solution void main() { int i=10, j=2; int *ip= &i, *jp = &j; int k = *ip/*jp; printf(“%d”,k); getch(); } Output: Compiler Error: “Unexpected ...
#Solution void main() { int i=10, j=2; int *ip= &i, *jp = &j; int k = *ip/*jp; printf(“%d”,k); getch(); } Output: Compiler Error: “Unexpected ...
~Programming Songs~
*Local Variable: Jeena Yahan Marna Yahan,Iske
~Programming Songs~ *Local Variable: Jeena Yahan Marna Yahan,Iske Siva Jana kaha... *Global Variable: Musafir hu yaro,Na ghar h na thikana... *Hidden...
~Programming Songs~ *Local Variable: Jeena Yahan Marna Yahan,Iske Siva Jana kaha... *Global Variable: Musafir hu yaro,Na ghar h na thikana... *Hidden...
The Next Palindrom
Level-Medium
A positive integer is called a
The Next Palindrom Level-Medium A positive integer is called a palindrome if its representation in the decimal system is the same when read from lef...
The Next Palindrom Level-Medium A positive integer is called a palindrome if its representation in the decimal system is the same when read from lef...
Trending Topics
© 2015