#include<stdio.h>
#include<stdlib.h>
int comment1(FILE *fp)
{
char ch;
int count=0;
while(fscanf(fp,"%c",&ch)!=EOF)
{
if(ch=='\n')
{
return count;
}
count++;
}
return count;
}
int comment2(FILE *fp)
{
char ch;
int count=0;
while(fscanf(fp,"%c",&ch)!=EOF)
{
if(ch=='*')
{
fscanf(fp,"%c",&ch);
if(ch=='/')
{
return count;
}
count++;
}
count++;
}
return 0;
}
int main()
{
printf("Enter the file name:");
char s[1000],ch,ch1;
scanf("%s",s);
FILE*fp;
fp = fopen(s,"r");
int count=0;
while(fscanf(fp,"%c",&ch)!=EOF)
{
if(ch=='\"')
{
while(fscanf(fp,"%c",&ch)!=EOF)
{
if(ch=='\"')
{
break;
}
if(ch=='\\')
{
fscanf(fp,"%c",&ch);
}
}
}
else if(ch=='/')
{
fscanf(fp,"%c",&ch);
if(ch=='/')
{
count += comment1(fp);
}
else if(ch=='*')
{
count += comment2(fp);
}
}
}
printf("%d\n",count);
return 0;
}
Answer:
The answer is "Option d".
Explanation:
In the given question in option b and option c, there is some typing mistake, but all the options are correct.
ISO is an organization, that is based on Geneva, which is a member of Switzerland. It provides one of the major guidelines for developing entities, that provides technical suggestions on frameworks for data communication.
- It is used to optimize products with businesses across ranges.
- The primary aim was to facilitate trade, but in several ways, it focus on enhancing procedures, safety, and quality.
A password and pin hope this helps :D
Answer:
The answer to this question can be defined as follows:
Explanation:
The term BPR stands for "business processes reengineering", It is the recreating of the core business process to improve product performance or reliability or lower costs.
- It generally includes analyzing business processes, which identifying sub-par or ineffective processes but identifying ways to dispose of or change it.
- IT important for improving changes, especially to shift in aspects of the work, its incorporation in business operations, or competitive strength change.
- It might contribute to making reconfiguration improvements, and is known as a BPR enabler.