Thank you all @^ guys :)
Type: Posts; User: vivekgupta
Thank you all @^ guys :)
Dude you are awesomeeeeeeee. Thank you very much. :)
skipping the "i+=1; is logical .. it is jumping back to the starting of the loop .But in the first case
for(i=0;i<5;i++) <<--- here should it think as it is incrementing i's value here (at...
hmm.. I know that after continue every statement in body will not be excuted. I am not getting the for loop thing .. means in both case the increment of 'i' will be at the end of the loop body ......
but both have same meaning means na.... if we define increment i++ in for loop or we define it at the end of the loop body (i=i+1 . Then why it is coming like this??
Given two programmes are same ???
if yes then try both with these inputs 4 2 3 -1 4 -1 -2 4
i am getting different answers :/
don't know why??
plz help
#include<stdio.h>
Thank you
I wrote code for sinx
But it is showing output as INF
Why INF?? what's wrong with code ....
plz help
#include<stdio.h>
So please say which book should i read to learn C from 'very basic' to a better and better level ?? And Should I learn C++ because my friend told me to learn C++ direct
#include<stdio.h>
#include<math.h>
int main(x)
{
int y,z;
y=-~x;
z=printf("hi\r");
Ohh yeah i got it :)
Thanks for the help
Actually I have knowledge about memory . :P
No i know that what these operators do .But I am asking that printf is considered as TRUE because it return the value of its address in that expression ?? It is ture that every function has it's own...
Thankx buddy
one more programe (Don't be angry please )
#include<stdio.h>
void main()
{
int x;
sorry for wrong code .. me beginner
#include<stdio.h>
#include<math.h>
void(main(main))
{
printf("%-d++",main+=pow(++main/*()*/,++main));
}
Output is :- 12++
Actually I am a beginner .I just started reading C . So i don't have any idea about pointers and arrays. I saw this problem and I get confused with printf function . Thanks for reply
This question from pointers:eek: . ???
That's what I am asking that What it is doing :P . Please explain anyone
#include<stdio.h>
int main ()
{
printf(5+"My name is Dwe");
return 0;
}
output :- me is Dwe