what is difference between procedural language and functional language ?
Answers were Sorted based on User's Feedback
Answer / sanjiv
In procedural language object is not used
In functional language object is used
Is This Answer Correct ? | 18 Yes | 3 No |
Answer / fauziya yaseen ansari
Object is not used in procedural language, Object is used in
functional language.
Is This Answer Correct ? | 6 Yes | 4 No |
Answer / ashu chhabra
A procedural program is written as a list of instructions,
telling the computer, step-by-step.Program units include the
main
Functional programming is particularly useful for
mathematical work, where the notion of ``function'' is
already a well established concept.
Is This Answer Correct ? | 2 Yes | 2 No |
Answer / shamim akhtar
In procedural languages we have to define complete procedure step by step.
In functional language ,there is no define complete procedure as it provide reusability
Is This Answer Correct ? | 2 Yes | 2 No |
11. Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage
how can i get the string which is having two spaces at the end.suppose the string is "Hello World ".Now at the end i have two spaces.i need to print with that spaces .
Convert a distance from miles to kilometers .there are 5280 feets per mile,12 inches per foot .2.54 centimeters per inch and 100000centimeters per kilometer
What is wrong with this code such that it doesnt produce the input reversed? #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { char Space = ' '; char LineOfText; float count; LineOfText = getchar(); while ((LineOfText = getchar()) != '/n'); { count = strlen(LineOfText) - 1; while (count >= 0) { putchar(LineOfText[count]); count--; } } getchar(); return 0; }
What are the storage classes in C?
What are dangling pointers? How are dangling pointers different from memory leaks?
what is the difference between structural,object based,object orientd programming languages?
main() { int i,j,A; for(A=-1;A<=1;A++) prinf("%d\t",!!A); }
How to add two numbers with using function?
What are the different types of C instructions?
what is the different between if-else and switch statment (other than syntax)
26 Answers CTS, Oracle, Scorpos,
Tell us something about keyword 'auto'.