OUTPUT segmentation fault C code #include<stdio.h> #define OK 1 #define ERROR 0 typedef struct node{ int data;...
(Term/sum) is the precision term which is compared with 'y' (here y is the max tolerable error)
May be the C compiler architecure different from TurboC compiler
hello! I identified following mistakes in your program 1)Do not use '&' in printf functions because we need to access the value of the variable...
( )>++>* precedence and associativity left to right. therefore 1)value 2)address 3)address 4)address 5)value
if I remove the semicolon after the for loop it prints the value '3' infinitely ,it means that it prints the value of i after one iteration.
hi! This basically is a sorting problem ,Iknow three ways of sorting,namely 1)selection sort 2)insertion sort 3)bubble sort Here are the...
printed error rectify .000009->.00009
hi!suganthi we use %e to represent the given number in exponential form that is by this format we represent .000009=9*10^(-05),where -05 is power...
int main() { int a=7, t=0; t=(--a)+(--a)+a+(++a); printf("%d\n",t); printf("%d",a); return 0; } This code replies 21...
Two frogs are sitting at the bottom of a flight of 10 steps and debating in how many ways then can jump up the stairs. They can jump one, two or...
thanks i got the logic and arrived at the answer
till now we at are not taught use of arrays,strings.we are just being taught loops,if & else statements,functions.
Separate names with a comma.