If you get above warning means in your code operation code in between deceleration see below example
Invalid Code:
main(){
int a;
a = function1();
int b;
b = function2();
}
Valid Code:
main(){
int a;
int b;
a = function1();
b = function2();
}
So write all declarations one place
Invalid Code:
main(){
int a;
a = function1();
int b;
b = function2();
}
Valid Code:
main(){
int a;
int b;
a = function1();
b = function2();
}
So write all declarations one place
Thank you for sharing such a wonderful Information !!
ReplyDeleteHere is a list of Top LINUX INTERVIEW QUESTIONS
Veritas Cluster Interview Questions
Redhat Cluster Suite Commands
SAMBA Server Interview Questions
Linux FTP vsftpd Interview Questions
SSH Interview Questions
Apache Interview Questions
Nagios Interview questions
IPTABLES Interview Questions
Ldap Server Interview Questions
LVM Interview questions
Sendmail Server Interview Questions
YUM Interview Questions
NFS Interview Questions
Tcpdump Command Examples & Usages
Example of YUM Commands
Read More at :- Linux Troubleshooting