how many times of error occur in C

Answer Posted / preethi

2 types of error. syntax error and segmentation fault

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are c header files?

795


What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

876


Can we compile a program without main() function?

890


How would you rename a function in C?

829


How can you increase the allowable number of simultaneously open files?

841


What is the explanation for modular programming?

930


Can we change the value of static variable in c?

781


What are compound statements?

863


What is the general form of a C program?

804


Write a program in c to replace any vowel in a string with z?

906


Which one would you prefer - a macro or a function?

864


struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer

1050


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

2443


What is pass by reference in c?

879


What are the advantages of Macro over function?

1644