\*Arithmetic operations on two numbers*/ #include<stdio.h> #include<conio.h> void main() { int a=7,b=5; clrscr(); printf("%d \n",a+b);...
#include<stdio.h> #include<conio.h> int main() { printf("Welcome to CFanatic"); return 0; getch(); }
give a clarity that whether you want to reverse a binary number or decimal number
I think you can write it by adding functions to library
k i have mistaken what u have said is true for second case but for first one it will be 21 please check it out
k 5n mention us in which particular topic you need a clarity understanding so that we can discuss
#include<stdio.h> #include<conio.h> void main() { int a=18; clrscr(); printf("%d",~a); getch(); } please explain me with outuput
for a beginner i suggest to use turbo c or codeblocks or c free 5
first one 21 second one 18 is it correct if it is then i will go with explanation
it is behind any innovative ideas today i mean innovative ideas for a programmer starts from c language
sir my intention of writing that is memory is allocated only when it is defined when we have given int i 'i' value and its address vary from...
when u have declared i1 has int no memory is allocated for that you must initalize it as for eg.., int i1=5;
please modify as #include<stdio.h> void main(){ int i,j,k,c=0; printf("Enter a number"); scanf("%d",&i); for(j=2;j<=i;j++){ if(i%j==0) c++; }...
ceil function is nothing but it will round of to next high digit for example if u consider 4 bit number as 1001 then 4/3 results in 1.3 but...
that is not a contradictory since u have mentioned return type as int u have to return something otherwise it would be warning when u compile in...
sir when we are using void in our program it means that we are not returning anything to our required function i,e.., void main() {...
sir(jitendra) u have not initialised it as a character array according to ur declaration only first character will be stored or it may give as...
really good question "rina" Many operating systems test the return value. The normal convention is that an exit value of zero means the program...
hello harit it actually returns a non zero value (i.e.., TRUE) but there are no statement under if statement so it will just print what it is...
happy independence day
Separate names with a comma.